Confirmation for delete command on gridview

Discussion in 'ASP .Net' started by Steve, Dec 2, 2005.

  1. Steve

    Steve Guest

    Is it possible to have a confirmation dialogue appear when the delete
    command is clicked on a gridview? i.e. asking the "Are you sure you
    wish to delete this record?" question.

    I just don't like the idea of someone clicking on delete by mistake and
    the record getting deleted.

    I tried using the onclick event, but the command links/buttons/images
    don't seem to accept that event, i guess for obvious reasons.
    Steve, Dec 2, 2005
    #1
    1. Advertising

  2. Steve

    Steve Guest

    Steve, Dec 2, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sramruttun

    Re: delete confirmation in datagrid

    sramruttun, Jul 4, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    609
    sramruttun
    Jul 4, 2003
  2. Dotnet Guy

    Delete Confirmation

    Dotnet Guy, Oct 16, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    661
    Dwayne Wilkinson
    Oct 21, 2003
  3. mpenev

    Delete confirmation in GridView

    mpenev, Sep 30, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    4,001
    mpenev
    Sep 30, 2005
  4. johnmott
    Replies:
    0
    Views:
    573
    johnmott
    Sep 12, 2007
  5. ASMJ
    Replies:
    0
    Views:
    198
Loading...

Share This Page