ASP .Net Message box help Needed Very urgent

Discussion in 'ASP .Net Datagrid Control' started by Elton Wang, Mar 24, 2005.

  1. Elton Wang

    Elton Wang Guest

    Hi Thankaraj,

    As Eliyahu's post you can have true value for "OK" and
    false for "CANCEL" in client-side.

    Actually in your serve-side process, you don't need worry
    about "CANEL", it doesn't post back to server. Only user
    clicks "OK" confirmation, it posts request to server.

    HTH

    Elton Wang



    >-----Original Message-----
    >Hello Group,
    >
    >This is my code.
    >
    >butPrev.Attributes.Add("OnClick", "return confirm('Do you

    want to SAVE this
    >item?');")
    >
    >How to capture whether the user is click "OK" or "CANCEL"

    button. I want
    >the javascript returning value.
    >
    >If the user click "OK" then what is the returning value.
    >If the user click "CANCEL" then what is the returning

    value.
    >
    >How to find out these values.
    >
    >Any one can help me please?
    >
    >Regards,
    >Thankaraj
    >
    >--
    >Message posted via http://www.dotnetmonster.com
    >.
    >
     
    Elton Wang, Mar 24, 2005
    #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. Raymond Arthur St. Marie II of III

    very Very VERY dumb Question About The new Set( ) 's

    Raymond Arthur St. Marie II of III, Jul 23, 2003, in forum: Python
    Replies:
    4
    Views:
    484
    Raymond Hettinger
    Jul 27, 2003
  2. Replies:
    3
    Views:
    379
    Milsnips
    Nov 15, 2006
  3. shanx__=|;-

    very very very long integer

    shanx__=|;-, Oct 16, 2004, in forum: C Programming
    Replies:
    19
    Views:
    1,633
    Merrill & Michele
    Oct 19, 2004
  4. vhdl124
    Replies:
    1
    Views:
    495
    vhdl124
    Apr 28, 2008
  5. olivier.melcher

    Help running a very very very simple code

    olivier.melcher, May 12, 2008, in forum: Java
    Replies:
    8
    Views:
    2,306
Loading...

Share This Page