While looking for a good way to check on my delete decisions, I found this…. A small piece of code that is mixed with asp.net(vb.net)
<asp:LinkButton ID="Delete_But" runat="server"<br />
CausesValidation="False" Text="Delete" OnClientClick="return confirm('Delete this blog?');" OnClick="Delete_Click" />
OnClientClick=”return confirm(’Delete this blog?’);”
So simple but yet so powerful!!!!
Just add that snippet to your button….
OnClientClick=”return confirm(’Your_Message_Here’);”