Hi Kev,
I agree with others that you can consider return your long-run page
immediately(let the service executing at server-side) and at client-side,
you can display some message indicate that the server task is running and
use some client-side script to postback and poll the server-side service
execution status. For the script , you can either use ASP.NET 2.0's script
callback feature or use the new AJAX framework(you need to install the ajax
runtime components).
#Implementing Client Callbacks Without Postbacks in ASP.NET Web Pages
http://msdn2.microsoft.com/en-us/library/ms178208.aspx
http://msdn2.microsoft.com/en-us/library/ms178210.aspx
#ASP.NET AJAX
http://ajax.asp.net/
In addition, you can also found some former threads dicussing on this
topics in the newsgroup:
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/brow
se_thread/thread/719a56977f0fea5/bcf7bd5271c85ddb
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet.buil
dingcontrols/browse_thread/thread/20beec83bdb3de20/cb633eaf816a4a2b
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.