Posted on 2004-09-23
I know that you cannot use MessageBox.show() in asp.net and use the following code to bring up a simple alert messagebox:
I have changed the word 'alert' into 'confirm' and brought up an ok/cancel box (as required) however do not know how to capture the ok or cancel as clicking either button does the same thing.
Can you please tell me how to differentiate between the ok and cancel button being clicked so i can perform the desired event (if ok is clicked) or not (if cancel button is clicked)
Thanks in advance,