Continue the background process on postbacks
-
Dear All, I am having a web application, in a page I want to do achieve the below functionality: In a grid list of options will be displayed, when the user selects and click on a button some process has to be done in back end in the same page but even though the user clicks on any grid paging or sorting any thing in the page the process triggered should not be stopped. Can we achieve this? If so how it can be? Kindly help me in this regard. Thanks a lot in advance.
Best Regards, M. J. Jaya Chitra
-
Dear All, I am having a web application, in a page I want to do achieve the below functionality: In a grid list of options will be displayed, when the user selects and click on a button some process has to be done in back end in the same page but even though the user clicks on any grid paging or sorting any thing in the page the process triggered should not be stopped. Can we achieve this? If so how it can be? Kindly help me in this regard. Thanks a lot in advance.
Best Regards, M. J. Jaya Chitra
I would suggest to develop the process as a windows application and run it from asp.net if it is a bigger one. Because if you run the process from asp.net itself, then it will run within the context of IIS and also the the memory allocated to IIS is limited. This will broke the execution of the process if it is big. If the memory occupied by the process is exceed the IIS memory limit, then the session will be broken. So if you create the process as a windows application, you can start the executable in the server side and pass some parameters as command line aruguments(if required) from asp.net. In this scenario, the process will not run under IIS context. But your asp.net application will need access rights to run the application. You can watch whether the process is completed asynchronously using client side timers.
-
Dear All, I am having a web application, in a page I want to do achieve the below functionality: In a grid list of options will be displayed, when the user selects and click on a button some process has to be done in back end in the same page but even though the user clicks on any grid paging or sorting any thing in the page the process triggered should not be stopped. Can we achieve this? If so how it can be? Kindly help me in this regard. Thanks a lot in advance.
Best Regards, M. J. Jaya Chitra
-
What is this?
Best Regards, M. J. Jaya Chitra