Thursday, September 15, 2011

How to add Client-Side confirmation when deleting items in GridView?

In asp:TemplateField......itemtemplate
Add link button with commandname="Delete" runat="server" Text="Delete" OnClientClick="return confirm('Are you sure you want to delete this data Row?')"

No comments:

Post a Comment