Javascript in ASP.NET

P

Peter Afonin

hello,

I've been using Javascript in ASP.Net before, but I cannot figure out how to
solve this particular puzzle. I was mostly registering JS at startup, but
this is not a case.

The task is very trivial: The Sub is running, when certain condition is met,
the user gets a message box with OK and Cancel buttons, asking him, whether
he wants to continue. If he clicks OK, the routine keeps running, if
Cancel - the Sub exits. That's it, a very common task in Windows
applications. Is it possible to do the same in ASP.NET?

I would appreciate any suggestions.

Thank you,
 
G

Guest

The task is very trivial: The Sub is running, when certain condition is met,
the user gets a message box with OK and Cancel buttons, asking him, whether
he wants to continue. If he clicks OK, the routine keeps running, if
Cancel - the Sub exits. That's it, a very common task in Windows
applications. Is it possible to do the same in ASP.NET?

If you mean the sub is a server side process and you want to pop up a
JavaScript dialog to the web user part way through, then no. You'll have to
perform part of the processing, request information from the user, then start
a new sub with the previous data and any new information the user supplies.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top