How to issue a dynamic confirm dialog before saving?

Discussion in 'ASP .Net' started by marksommerville@yahoo.com, Nov 26, 2007.

  1. Guest

    Can anyone help?

    I have a Delete button that processes a request to delete 1 or more
    records.

    I want to be able to issue a custom javascript confirm dialog message
    before I go through my save routine. For example, "Are you sure you
    want to delete these 5 items?". The "5" is variable. I have a gridview
    with a column of checkboxes. If no checkboxes are selected the confirm
    dialog should not be displayed.

    I'm working VB.
     
    , Nov 26, 2007
    #1
    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. Tony Baker
    Replies:
    0
    Views:
    6,723
    Tony Baker
    Dec 17, 2003
  2. Patrick Delifer

    JS Confirm dialog from datagrid template column

    Patrick Delifer, Apr 27, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    701
    Patrick Delifer
    Apr 28, 2004
  3. =?Utf-8?B?VGFydW4gVXBhZGh5YXlh?=

    Problem showing confirm dialog on button webcontrol's onclick even

    =?Utf-8?B?VGFydW4gVXBhZGh5YXlh?=, Jun 1, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    3,568
    Peter Blum
    Jun 2, 2005
  4. ad

    How to show a confirm dialog?

    ad, Jun 4, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    780
  5. CalSun

    Confirm after saving (asp.net)

    CalSun, Dec 1, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    3,707
    =?Utf-8?B?UmFt?=
    Dec 1, 2005
Loading...

Share This Page