Re: Updating a control with data on server event.
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Thu, 19 Apr 2007 04:03:58 GMT
Hi Almog,
As for the "updating control ..." question you mentioned, I think it is a
typical asynchronous server-side processing and update client case, as John
has suggested, generally, you can let the server-side keep processing the
task(in a background thread) and the page will return the client
synchronously. After that, in client page, you can use script to constantly
post to the server and query the processing status, if finished, post back
the page and display final result.
Here are some former thread in newsgroup and tech articles in MSDN library
that discussing on similar topic:
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/brow
se_thread/thread/44302efa18ea9567/1619ca7b4000d2f8
#Reporting Task Progress With ASP.NET 2.0
http://msdn.microsoft.com/msdnmag/issues/06/09/CuttingEdge/default.aspx
#How To: Submit and Poll for Long-Running Tasks
http://msdn2.microsoft.com/en-us/library/ms979200.aspx
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.
.
- Follow-Ups:
- Re: Updating a control with data on server event.
- From: Serendipity
- Re: Updating a control with data on server event.
- From: Serendipity
- Re: Updating a control with data on server event.
- From: Serendipity
- Re: Updating a control with data on server event.
- References:
- Re: Updating a control with data on server event.
- From: John Saunders [MVP]
- Re: Updating a control with data on server event.
- Prev by Date: Re: Updating a control with data on server event.
- Next by Date: RE: GridView Extending
- Previous by thread: Re: Updating a control with data on server event.
- Next by thread: Re: Updating a control with data on server event.
- Index(es):
Relevant Pages
|