All you have to do is add this onclientclick="return confirm('Are you sure you want to Delete this Apointment ?');"
For example :
<asp:Button ID="Button2"
runat="server"
Text="Delete" onclick="Button2_Click"
onclientclick="return confirm('Are you sure you want to Delete this Apointment ?');" />
Simple?
No comments:
Post a Comment