Thursday 19 March 2015

Confirm Message Box With OK or Cancel Option in C#

Confirm Message Box With OK or Cancel Option 


If Save Button Click Want To Confirmation Message Using OnClientClik Write Message Get MessageBox

         
                           DEMO



         
                     HTML CODING

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
    
    <asp:Button ID="Button1" runat="server" OnClientClick="return confirm('Do You Want To Save?');" Text="Save" />
    
</div>
</form>
</body>

</html>














0 comments:

Post a Comment