Showing posts with label get master page asp controls. Show all posts
Showing posts with label get master page asp controls. Show all posts

Saturday, June 16, 2012

ASP.Net(Get The Master Page ASP Control Text Value)


HiddenField mpTextbox;
mpTextbox = (HiddenField)Master.FindControl("ElementName");
if (mpTextbox != null)
{
    mpTextbox.Value.ToString();
}