Answer: Yes, You can access controls on the Master Page by casting the Master to your MasterPage as shown below:
protected void Page_Load(object sender, EventArgs e)
{
MyMasterPage MMP = this.Master;
MMP.MyTextBox.Text = "Text Box Found";
}
Asked In: Many Interviews |
Alert Moderator