how can I show a confirm message before deleting a row in a gridview.

Discussion in 'ASP .Net' started by Miguel Gómez, May 12, 2009.

  1. Hi dear colleagues:

    Does any body can tell me, how can I show a confirm message before
    deleting a row in a gridview in order the user to be able to cancel the
    deleting operation?

    My gridview is connected to a sqldatasource which properly have set the
    deletecommand property. The deleting operation works fine, but without
    warning the user.

    Any idea, please?

    Thank you very much.
     
    Miguel Gómez, May 12, 2009
    #1
    1. Advertisements

  2. http://www.softcircuits.com/Blog/post/2009/05/12/Confirm-Before-Deleting-Grid-Item.aspx.

    --
    Jonathan Wood
    SoftCircuits Programming
    http://www.softcircuits.com
    http://www.softcircuits.com/blog/


    "Miguel Gómez" <> wrote in message
    news:...
    > Hi dear colleagues:
    >
    > Does any body can tell me, how can I show a confirm message before
    > deleting a row in a gridview in order the user to be able to cancel the
    > deleting operation?
    >
    > My gridview is connected to a sqldatasource which properly have set the
    > deletecommand property. The deleting operation works fine, but without
    > warning the user.
    >
    > Any idea, please?
    >
    > Thank you very much.
    >
    >
     
    Jonathan Wood, May 12, 2009
    #2
    1. Advertisements

  3. Miguel Gómez, May 12, 2009
    #3
  4. Thank you very much, Jonathan.

    "Jonathan Wood" <> escribió en el mensaje de
    noticias:#...
    > http://www.softcircuits.com/Blog/post/2009/05/12/Confirm-Before-Deleting-Grid-Item.aspx.
    >
    > --
    > Jonathan Wood
    > SoftCircuits Programming
    > http://www.softcircuits.com
    > http://www.softcircuits.com/blog/
    >
    >
    > "Miguel Gómez" <> wrote in message
    > news:...
    >> Hi dear colleagues:
    >>
    >> Does any body can tell me, how can I show a confirm message before
    >> deleting a row in a gridview in order the user to be able to cancel the
    >> deleting operation?
    >>
    >> My gridview is connected to a sqldatasource which properly have set the
    >> deletecommand property. The deleting operation works fine, but without
    >> warning the user.
    >>
    >> Any idea, please?
    >>
    >> Thank you very much.
    >>
    >>

    >
     
    Miguel Gómez, May 13, 2009
    #4
    1. Advertisements

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. H5N1
    Replies:
    0
    Views:
    2,984
  2. loga123
    Replies:
    2
    Views:
    5,941
    loga123
    Jun 28, 2006
  3. Replies:
    5
    Views:
    859
  4. Andy B
    Replies:
    0
    Views:
    1,238
    Andy B
    Apr 30, 2008
  5. Jeff
    Replies:
    1
    Views:
    428
    comphilip
    Jan 4, 2009
  6. D
    Replies:
    0
    Views:
    500
  7. John Wright

    Confirm Message in gridview

    John Wright, Oct 3, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    495
    John Wright
    Oct 5, 2006
  8. Andrus

    Insert new row before current row

    Andrus, Jun 29, 2003, in forum: Javascript
    Replies:
    0
    Views:
    255
    Andrus
    Jun 29, 2003
Loading...