App_Code in Web Application
-
Am developing a web application wherein I have a label in master page which has to get value from the web pages. When I develop a web site, I used to put a method in App_Code. How do I do it here? Any particular approach to be taken? Thanks, simi
------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates
-
Am developing a web application wherein I have a label in master page which has to get value from the web pages. When I develop a web site, I used to put a method in App_Code. How do I do it here? Any particular approach to be taken? Thanks, simi
------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates
I'm a bit of an ASP newbie, but I'd either use javascript embeded in the master page or use the findcontrol method to obtain the control I need to modify/retrieve data from. In both cases, you'll need to know the ID of the control you're looking for. Yet another option is to search through Page.Controls for the control. Hope that helps!