JavaScript Editor jscript editor     Web designer 



Main Page

The Control class and its derived classes (including the Page class) expose a Controls property that returns a ControlCollection. This hierarchy allows you to walk the control tree programmatically to search for specific controls on a page, as well as to check the type of controls within the collection in order to access their properties. The following code example shows how to walk through the page's control hierarchy to find instances of the <asp:TextBox> control (of which there is only one).

See Also



JavaScript Editor jscript editor     Web designer 
website