G
Guest
Dear Experts,
I am working on ASP.NET. I have got a problem related to the usage of
Javascript in ASP.NET. Please help. The story is the following:
1) I am developing an ASP.NET application. I need to prompt the users with a
modal box (with "Yes" and "Cancel" button on it);
2) When the user clicks "Yes" button, I need to do some further processing.
If "Cancel" is clicked, of course, stops doing anything;
3) Now the problems are:
- which JavaScript would be appropriate? e.g. confirm, showModalDialog, etc.
- * How can I catch the click event in ASP.NET codes when the user clicks
the "YES" or "Cancel" button? This is the most tricky part that I really
don't know on how to do so! Please kindly help.
Thanks a lot.
I am working on ASP.NET. I have got a problem related to the usage of
Javascript in ASP.NET. Please help. The story is the following:
1) I am developing an ASP.NET application. I need to prompt the users with a
modal box (with "Yes" and "Cancel" button on it);
2) When the user clicks "Yes" button, I need to do some further processing.
If "Cancel" is clicked, of course, stops doing anything;
3) Now the problems are:
- which JavaScript would be appropriate? e.g. confirm, showModalDialog, etc.
- * How can I catch the click event in ASP.NET codes when the user clicks
the "YES" or "Cancel" button? This is the most tricky part that I really
don't know on how to do so! Please kindly help.
Thanks a lot.