Answers for "access content page from masterpage"

0

access content page from masterpage

ContentPlaceHolder contentPage = Page.MasterPage.FindControl("ContentPlaceHolder1") as ContentPlaceHolder;
Label lblHead =(Label)contentPage.FindControl("lblHeading");
Response.Write(lblHead.Text);
Posted by: Guest on October-15-2021

Code answers related to "access content page from masterpage"

Browse Popular Code Answers by Language