Can you access the master page control in content page without FindControl method of master page?

 Posted by Virendradugar on 12/30/2009 | Category: ASP.NET Interview questions | Views: 5952

Yes. There is another way of accessing the master page control other than findcontrol() method. See below code:

MyMasterPage objMasterPage = this.Master;

objMasterPage.MasterPageTextBox1.Text = "Text set from Content Page.";

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response