Could anyone tell me how to put delete confirmation pop up in detailsview control? (in VB.NET)
I created 3 button ( Edit, Delete, New) as commandfield. I tried with <asp:templatefield> and it works but I would like implement in <asp:commandfield>.
Thanks in advance.
<asp:CommandField ButtonType="Button" ShowDeleteButton="True" ShowEditButton="True" ShowInsertButton="True" />
'I would like to implement on above line.
Text="Delete" runat="server" Commandname="delete" OnClientClick="return confirm('Delete?');">