D
David
Say a asp:textbox control on the web form. Where is it in the hierarchy of
the page object. I found out that it is not in page.Controls.
Looking at the Locals window where stepping through the code, if I follow
the tree..
- page
- Form
- System.Web.UI.HtmlControls.HtmlContainerControl
- System.Web.UI.Control
- _controls
- _controls
- here I am finding my web controls
WTF? Am I looking at it right? I am not that experienced with the Locals
window, but this seems crazy. Plus, why is the UI.Control under
HTMLControls????
My goal is to get a collection of all the asp.net web controls drawn on my
web form.
the page object. I found out that it is not in page.Controls.
Looking at the Locals window where stepping through the code, if I follow
the tree..
- page
- Form
- System.Web.UI.HtmlControls.HtmlContainerControl
- System.Web.UI.Control
- _controls
- _controls
- here I am finding my web controls
WTF? Am I looking at it right? I am not that experienced with the Locals
window, but this seems crazy. Plus, why is the UI.Control under
HTMLControls????
My goal is to get a collection of all the asp.net web controls drawn on my
web form.