Accessing Control from Master Page
-
How can I access the control in the Master page from a class? The master page has a label Label1 and am trying to access it from a web page. (Label)Page.Master.FindControl("Label1"); It works on web page but same thing does not when I write it in a class in the application. Please help
------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates
-
How can I access the control in the Master page from a class? The master page has a label Label1 and am trying to access it from a web page. (Label)Page.Master.FindControl("Label1"); It works on web page but same thing does not when I write it in a class in the application. Please help
------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates