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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -