jagguy
asked on
master file label
In asp.net master page app can I display a label from the master page that reflects the page I am on?
For example I want a variable in the master page to display some instructions in the master page area depending on what webpage I am on.
For example I want a variable in the master page to display some instructions in the master page area depending on what webpage I am on.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In VB.NET:
Page.Master.FindControl("l blMessage" ).Text = "Text based upon content page"
Page.Master.FindControl("l
Label lbl1 = (Label)Page.Master.FindCon
lbl1.Text = "Text based upon content page";