SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
<asp:Button runat="server" ID="btnDelete" Text="Delete" onClientClick="javascript:return confirm('Are you sure you want to delete this user?');" OnClick="BtnDelete_Click" />