ASP.Net - Button

Adding a confirmation

1
2
3
4
5
<asp:Button ID="btnDelete" runat="server" 
Text="Delete" Visible="False"
ToolTip="Remove this record from the system."
OnClientClick="return confirm('Are you sure you want to delete this record. Press OK to delete')"
/>