Asp.Net GridView Confirm Message From Javascript

From Below Code You Can put Confination Message in GridView From Javascript return Confim
<asp:ImageButton  CssClass=”Delete”  BorderWidth=”0″ runat=”server”
   ID=”btnEditrecord” CommandName=”Delete” CommandArgument='<%# Eval(“EMP_ID”) %>’
   AlternateText=”Delete” CausesValidation=”False”  OnClientClick=”return confirm(‘Are You Sure To Delete Record  ?’)”></asp:ImageButton>


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s