I have the following code. I need to have a confirmation and then delete on server.. If I have the OnClick it does not fire. Any idea?
<asp:Button ID="btnDelete" runat="server" Text="Delete Report" OnClientClick="return confirm ('This will delete the report. Continue?');" OnClick="btnDelete_Click" />
protected void btnDelete_Click(object sender, EventArgs e)
{
// I have code here but it never fires
}