confirm on button click event

<asp:Button ID="btndelete" runat="server"     OnClientClick="javascript:return confirm('Are you sure you want to delete?');"   Text="Delete" Width="106px" onclick="btndelete_Click" Enabled="False"    Visible="False"  />

Popular Posts