InterviewSolution
Saved Bookmarks
| 1. |
From the Content page, how can you reference a control on the master page? |
|
Answer» 1. USING the FindControl() method
2. Without using the FindControl() method Yes, by casting the Master to your MasterPage as shown in the below code SAMPLE: protected void Page_Load(object sender, EventArgs e) { MyMasterPage MP = this.Master; MP.MyTextBox.Text = "Text Box Found"; } |
|