return confirm() doesn’t work as expected inside UpdatePanel
When using a GridView with a ButtonField for deleting records, setting a return confirm(‘Are you sure?’) on the onclick event doesn’t prevent the event from firing to the server.My first try was with this code: <asp:buttonfield ButtonType="Image" ImageUrl="/images/b_drop.png" CommandName="DeleteRow" />
More »
I am a .NET programmer first and foremost. But in my spare time I like to play around with PHP, Erlang, Haskell, F#,