confirmation from user from a delete button in the DataGrid
One of the columns of the datagrid is a TemplateColumn containing a Delete button.
i'm deleting a row on the click of the Delete Button.
How do i put in a confirmation - "Are you sure ..."
for the user before, the row gets deleted. Since the delete code is a part of the following event -
private void grdPayments_DeleteCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
thus cannot even attach an "onClick" attribute to it, had it been a normal button.
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
By Jirka in forum ASP.NET
Last Post: 05-19-2003, 11:31 AM
By Steve in forum ASP.NET
Last Post: 11-26-2002, 04:40 PM
By Giovanna in forum ASP.NET
Last Post: 10-04-2001, 01:10 PM
By newbie in forum ASP.NET
Last Post: 06-19-2001, 02:13 PM
By giovanna in forum ASP.NET
Last Post: 03-27-2001, 09:59 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center