Blogger Themes

How to Access Master Page Control / ID in Child Pages in Asp.net[Solved]




How to Access Master Page Control / ID in Child Pages in Asp.net[Solved]??

_________________________________________________
Simple

Use this Namespace in Master Page

System.Web.UI.HtmlControls.HtmlGenericControl;


In Child Page
HtmlGenericControl getID= (HtmlGenericControl)Page.Master.FindControl("MainH").FindControl("IdFromMasterPage");
How to Access Master Page Control / ID in Child Pages in Asp.net[Solved] How to Access Master Page Control / ID in Child Pages in Asp.net[Solved] Reviewed by Rejeti Praveen Kumar on 00:44 Rating: 5

No comments:

Powered by Blogger.