admin 3/27/2016 | |
It just doesn't work this way. Events are executed on the web server and you cannot ask for confirmation from server side event. |
N
|
nbwenren author 3/27/2016 |
It just doesn't work this way. Events are executed on the web server and you cannot ask for confirmation from server side event. Take a look at this article that explains how to achieve this: https://xlinesoft.com/asprunnerpro/docs/how_to_ask_for_confirmation_before_saving_record.htm
|
admin 3/29/2016 | |
This is going to be more complicated than that. Since you are limited to Javascript any sort of operations that require database access need to be executed via AJAX. You need to execute an AJAX request to custom ASP file that performs calculations, get response back and either proceed with saving the record or ask user for confirmation. |
N
|
nbwenren author 3/30/2016 |
This is going to be more complicated than that. Since you are limited to Javascript any sort of operations that require database access need to be executed via AJAX. You need to execute an AJAX request to custom ASP file that performs calculations, get response back and either proceed with saving the record or ask user for confirmation. You can see an example of similar technique in this article (though this is for PHP): http://www.asprunner.com/forums/topic/22701-custom-dependent-dropdown-boxes/
|