Accessing the controls of a MasterPage from inside a Web Form

write this code inside child page of masterpage to access a control.


Label lblmsg;

lblmsg = (Label)Master.FindControl("lblTitle");

lblmsg.Text = "I love my india";

Next Recommended Reading Resizeable Controls on a Form