i Have button that shows confirmation dialog
<asp:Button ID="btnSignOff" runat="server"
CssClass="button" Text="Sign OFF"
OnClick="btnSignOff_Click"
OnClientClick="return confirm('Are you sure you want to Sign OFF?');"
/>
the problem is even i clicked the cancel button, the page will reload and execute the server side code instead of nothing happen.
note: Were using INTERNET EXPLORER browser.
Weird scenario is when i tried to some client's machine with same browser it works fine. but in other client's machine its not working.
how can i check the accuracy of this code if some clients scenario is not working.
thanks in advance.