DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    May 2005

    Arrow 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.

  2. #2
    Join Date
    Nov 2003
    Portland, OR
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 3
    Last Post: 05-19-2003, 10:31 AM
  2. Replies: 3
    Last Post: 11-26-2002, 03:40 PM
  3. Problem using delete method in Datagrid
    By Giovanna in forum ASP.NET
    Replies: 1
    Last Post: 10-04-2001, 12:10 PM
  4. Confirmation before deleting in DataGrid
    By newbie in forum ASP.NET
    Replies: 0
    Last Post: 06-19-2001, 01:13 PM
  5. 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
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.