Controls in Page

  • Thread starter Thread starter dawid.greyvenstein
  • Start date Start date
D

dawid.greyvenstein

I have a Page with master page and a couple of server side controls in
the ContentPlaceHolder. I want to iterate through all the controls on
the page. I try to do this in the Page.Load event, but the only control
I get in this.Controls is the master page. How can I get access to the
other controls?

Any help welcome.
 
I found it in a HtmlForm control in the master page's child controls.
The reason I couldn't find it in the first place, was because of a bug
in my recursive code. My bad.
 
Back
Top