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]
Reviewed by Rejeti Praveen Kumar
on
00:44
Rating:
Reviewed by Rejeti Praveen Kumar
on
00:44
Rating:

No comments: