You can access it through the Management Collection.
Page.Controls
Recursive FindControls from Rick Strahl's Blog
public static Control FindControlRecursive(Control Root, string Id) { if (Root.ID == Id) return Root; foreach (Control Ctl in Root.Controls) { Control FoundCtl = FindControlRecursive(Ctl, Id); if (FoundCtl != null) return FoundCtl; } return null; }
Be careful with this, however ... This is not a method that you want to use inside a loop or something else.
source share