Hi, I'm trying to find out, from my master page code behind, if a page includes a certain content placeholder.
If the page includes the content placeholder I need to add a class in my master page and show a panel.
I've tried looping through Page.Controls but it doesn't seem to be giving me what i want.
foreach (System.Web.UI.Control ctrl in Page.Controls)
if (ctrl.ID == "focusAreaPlaceHolder")
controlsinfo.Text = "found it";