I'm having a hard time to use the delete function of listview with a custom javascript delete confirmation.
What I'd like to do is use the bootstrap modals, such that onClientClick will trigger a modal, prompting the user to confirm or cancel. I can't quite figure out how to wire up the modal to the linkbutton to return true\false to the link button while breaking the postback. Has anyone done something similar?
Current code:
<asp:LinkButton ID="lnkDeleteQuote" runat="server" Text="Delete" CommandName="Delete" OnClientClick="if(!confirm('Are you sure you want to delete this?')) return false;"></asp:LinkButton>