-
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 advise.
-
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
By Jirka in forum ASP.NET
Replies: 3
Last Post: 05-19-2003, 10:31 AM
-
By Steve in forum ASP.NET
Replies: 3
Last Post: 11-26-2002, 03:40 PM
-
By Giovanna in forum ASP.NET
Replies: 1
Last Post: 10-04-2001, 12:10 PM
-
By newbie in forum ASP.NET
Replies: 0
Last Post: 06-19-2001, 01:13 PM
-
By giovanna in forum ASP.NET
Replies: 0
Last Post: 03-27-2001, 08:59 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks