How to add a "confirm delete" option in ASP.Net Gridview? -
how add "confirm delete" option in asp.net gridview ?
this should it.
i found here: http://forums.asp.net/p/1331581/2678206.aspx
<asp:templatefield showheader="false"> <itemtemplate> <asp:imagebutton id="deletebutton" runat="server" imageurl="~/site/img/icons/cross.png" commandname="delete" onclientclick="return confirm('are sure want delete event?');" alternatetext="delete" /> </itemtemplate> </asp:templatefield>
Comments
Post a Comment