Advanced programming in C# and ASP.net
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment