There are two methods to access Master Page Control Properties.
- User find control
Label lbl = (Label)Master.FindControl("Label1");
- User @MasterType
Add <%@ MasterType VirtualPath="~/Master/Default.master"%> to the content page
Then I can use code below to set the label in master page or get the value from master page
Label2.Text = Master.address;
Master.label1text = "successful";