CONFIRMATION MESSAGE WHILE DELETING A ROW FROM GRIDVIEW

Debendra256
Posted by Debendra256 under ASP.NET category on | Points: 40 | Views : 361
<asp:TemplateField HeaderText="DELETE" ShowHeader="False">
<ItemTemplate>
<span onclick="return confirm('Are you sure to Delete?')">
<asp:Button ID="Button1" runat="server" CausesValidation="False"
CommandName="Delete" Text="Delete" />
</ItemTemplate>
</asp:TemplateField>

Comments or Responses

Login to post response