__doPostBack does not work in firefox 3 (did not check 2). Everything works fine in IE 6 and 7, and even works in Chrome
This is a simple asp: LinkButton with an OnClick event.
<asp:LinkButton ID="DeleteAllPicturesLinkButton" Enabled="False" OnClientClick="javascript:return confirm('Are you sure you want to delete all pictures? \n This action cannot be undone.');" OnClick="DeletePictureLinkButton_Click" CommandName="DeleteAll" CssClass="button" runat="server">
The javascript validation is triggered, so I know that javascript is working, this is specifically the __doPostBack event. A lot of things are happening on the page, I just don’t know if it works to publish the whole page.
I include the control in the page load event.
Any ideas?
Hope this is the right way to do this, but I found the answer. I decided that I would put it here and then in stackoverflow "answer"
This seems to be due to the attachment of the ajax UpdatePanel applet. When I removed the top-level panel, it was fixed.
, , - . , , .