hi all,
I am trying to find a panel on a master page from its content page. But the panel is always coming null. This is my code:
ContentPlaceHolder cnt = new ContentPlaceHolder();
cnt = (ContentPlaceHolder)Page.Master.FindControl("ContentPlaceHolder1");
Panel pnl = new Panel();
pnl = (Panel)cnt.FindControl("pnlLogin");
Contentplace holder is returning but the panel is always coming null.
Can smeone help me?
Thanx in advance
...
Go to the complete details ...