Hi Guys
I am using User Control wrapped with an update panel. I using master page. When I click a button in the user control, it just update some details.
(One master page with a user control to display messages and a page with another user control)
My problem is, I have a user control in the master page which show the result if is successful, but this user control is not in the update panel.
I used a javascript function to display the message before. Now I have put the other user control inside a update panel.
My question is, how do I execute a javascript code when an operation is successful from code behind? Can I pass back parameter from code behind to update panel, so the update panel can execute javascript according to the result?
Cheers
Shane
I am using User Control wrapped with an update panel. I using master page. When I click a button in the user control, it just update some details.
(One master page with a user control to display messages and a page with another user control)
My problem is, I have a user control in the master page which show the result if is successful, but this user control is not in the update panel.
I used a javascript function to display the message before. Now I have put the other user control inside a update panel.
My question is, how do I execute a javascript code when an operation is successful from code behind? Can I pass back parameter from code behind to update panel, so the update panel can execute javascript according to the result?
Cheers
Shane