Wednesday, August 4, 2010

How to Change Text of a Label inside a MasterPage from its inherited Page.

((Label)this.Master.FindControl("Label1")).Text = "Text to be changed";

This code will find the control inside the Masterpage and Change it.

No comments: