problem in executing javascript from an update panel.
-
Hi all, In my application i am opening a window through javascript from the code behind on the click event of an asp button. But the problem is when i am placing the button inside an update panel the window is not opening.otherwise it is working. Can anybody give me any way to solve it.
-
Hi all, In my application i am opening a window through javascript from the code behind on the click event of an asp button. But the problem is when i am placing the button inside an update panel the window is not opening.otherwise it is working. Can anybody give me any way to solve it.
Are you Registering any startup event for the Button in the codebehind to open the window? If yes, ClientScript class would not work in UpdatePanel. You ScriptManager's Register function.
Castle Rider
What if I freeze??? Don't forget to breath...
My: Website | Yahoo Group | Blog Spot
/xml>
-
Hi all, In my application i am opening a window through javascript from the code behind on the click event of an asp button. But the problem is when i am placing the button inside an update panel the window is not opening.otherwise it is working. Can anybody give me any way to solve it.
its because when postback occurs it removes javascript so to resolve this problem you require to register click event of the button again.
For more help : pranayamr.blogspot.com
-
Hi all, In my application i am opening a window through javascript from the code behind on the click event of an asp button. But the problem is when i am placing the button inside an update panel the window is not opening.otherwise it is working. Can anybody give me any way to solve it.
Can you post your code snippet? This will help us in answering.. Cheers!! Brij Check my latest Article :URL Routing with ASP.NET 4.0