JonathanS1
August 21, 2006, 11:48:34
Hi, not sure if you can help with this question but anything would be better than nothing!
Using TXTextControl v12 .NET Server and ASP.NET2, I am doing a lot of processing to create merged word/pdf documents which are then displayed in a web page. The problem is that this process can take some time, with the result that the user thinks nothing is happening as the calling aspx page displays nothing and then closes the page before the report generator has completed (and reporting failure when this is not the case).
I have tried to update a label on the calling page every 10th database record which is processed by ServerTextControl but although the code updates the label, nothing visible actually happens on the calling page.
I then tried a different route and ran the ServerTextControl report generation code in a separate thread and used a callback delegate to update the label on the calling page. Again nothing visible happens on the calling page although the code runs.
Is there anyway I can provide some sort of feedback to the user to indicate the progress of the ServerTextControl report generation code?
Regards,
Joanthan
Using TXTextControl v12 .NET Server and ASP.NET2, I am doing a lot of processing to create merged word/pdf documents which are then displayed in a web page. The problem is that this process can take some time, with the result that the user thinks nothing is happening as the calling aspx page displays nothing and then closes the page before the report generator has completed (and reporting failure when this is not the case).
I have tried to update a label on the calling page every 10th database record which is processed by ServerTextControl but although the code updates the label, nothing visible actually happens on the calling page.
I then tried a different route and ran the ServerTextControl report generation code in a separate thread and used a callback delegate to update the label on the calling page. Again nothing visible happens on the calling page although the code runs.
Is there anyway I can provide some sort of feedback to the user to indicate the progress of the ServerTextControl report generation code?
Regards,
Joanthan