Hello, I have an asp:ImageButton that is supposed to popup a save dialog when clicked. When I put it outside the UpdatePanel, it works fine, but when I put it inside the UpdatePanel, the dialog does not popup.
+1
A:
Response.Write often doesn't work inside of UpdatePanels. Assuming you're just running some javascript in the onclick event on the client, you're probably better off just adding your javascript code server-side to the OnClientClick property.
Robert C. Barth
2009-01-07 20:39:16
A:
I had a similar problem in a GridView, but solved it by uing an Image inside a LinkButton. http://netpl.blogspot.com/2008/01/imagebutton-in-templatefield-does-not.html for more information.
Echilon
2009-01-07 20:56:43