UpdatePanel Issue
-
I have all the controls in an in content page in an asp.net web app. Issue is that am not able to access the controls in Master page when I access this way ,(Label)Master.FindControl("lblPageMsg"); Am able to access this way when I dont use Update panel. Any help is appreciated.
------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates
-
I have all the controls in an in content page in an asp.net web app. Issue is that am not able to access the controls in Master page when I access this way ,(Label)Master.FindControl("lblPageMsg"); Am able to access this way when I dont use Update panel. Any help is appreciated.
------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates
I think When you are using update Panel might be Label is not present in it. So even if you could access it is not going to update the message. Are you getting any error ? while accessing the label. Create a public property in Master Page that will set the text of label and make sure that your label is present in update panel so that after asynchronous postback it will update the message that you want to show
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
modified on Wednesday, May 28, 2008 3:19 AM