My question about the placeholder, basically I have to perfrom a check in my custom user control for some controls, but does controls are loaded from a page in a placeholder.
And my user is located on the master page of course.
So in a user control I wrote something like this:
protected void Page_Load(object sender, EventArgs e)
{
this.Page.LoadComplete += new EventHandler(Page_LoadComplete);
}
void Page_LoadComplete(object sender, EventArgs e)
{
//looping thru all the controls in the page
}
So basically i call a method on page load complete, BUT I don't find the control which I'm looking for, so my question WHEN do the place holders are beeing loaded with the contenct from pages?
How can I get access to controls of those pages from master page, when are they available?