Re: Updating a control with data on server event.



Thank you for your help!

"Steven Cheng[MSFT]" wrote:

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.











.



Relevant Pages

  • Re: Notifying a user on demand
    ... I'm afraid this is quite difficult as the webservice by default is used as ... the client calls the server for information modal. ... portto let the server-side invoke. ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: folder virtualisation
    ... client GUI application. ... Yes, based on my feedback, it seems that the named pipe object may be ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.platformsdk.security)
  • RE: Web App With Signature
    ... use some rich client approach such as ACTIVEX control. ... retrieve protect resource on client(such as file system or certificate ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: asp.net pluggable pages
    ... 1.According to different client users, you can create multiple ASP.NET ascx ... users that will need customized GUI. ... ASP.NET support dynamically create server controls. ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Comet implementation in WCF
    ... As for the WCF Comet service scenario you mentioned, ... So far based on my research, at server-side, WCF method can use ... Microsoft MSDN Online Support Lead ... I am developing a WCF Comet web service, where client requests gets queued ...
    (microsoft.public.dotnet.framework.aspnet.webservices)

Loading