HomeLearnGeneral ASP.NET VideosHow Do I: Implement the Persistent Communications Pattern with the UpdatePanel?  

[How Do I:] Implement the Persistent Communications Pattern with the UpdatePanel?

Please install Silverlight or click download to watch video locally.

In a traditional Web site the browser and the server do not maintain an ongoing communication, but communicate only in response to the user performing an action. In a modern Web site where the page becomes an application container, it can be advantageous for the browser and the server to maintain an ongoing communication so that page updates can occur without the user performing an action. This is known as the Persistent Communications Pattern for AJAX. ASP.NET AJAX provides two main ways for Web developers to implement the Persistent Communications Pattern. This video demonstrates the simple way, which is to use the ASP.NET AJAX UpdatePanel as the basis of the implementation. In a later video we will learn how to implement the same pattern without the use of the ASP.NET AJAX UpdatePanel.

Presented by Joe Stagner

Duration: 12 minutes, 1 seconds

Date: 01 August 2007

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 9

Leave a Comment

netninja : On April 02, 2008 10:10 AM said:

Great tutorial! I have 1 question: I am using the Persistant Communication Pattern Service Call and I would like to put the javascript in an external file. When I did so, and called the onload function "initConstantCall();" I get an error. Any ideas?

JoeStagner : On April 03, 2008 6:27 PM said:

Do you have this at the bottom of your script file ?

// Notify ScriptManager that this is the end of the script.

if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();

netninja : On April 04, 2008 10:38 AM said:

That worked! Thank you so much.

BTW, your tutorials/blog ROCK! =)

JoeStagner : On April 14, 2008 8:22 PM said:

Glad to help and THANKS !!!

cv_vikram : On August 07, 2008 11:28 AM said:

Good tutorial...thanks

chandradev1 : On May 12, 2009 4:59 AM said:

It is very good tutorial. Thanks for uploading

Zigoto : On June 09, 2009 2:07 PM said:

Great tutorial! I have 1 question:

How do I implement this pattern in a N-Tier application?

Example: I need to write 3 text files.

I need to monitor real time business layer events and display the status messages like "processing... ", "File 1 - done", "File 2 - done" ... in the update panel at presentation layer.

Like a real time status bar displaying messages from other layers.

Is it possible in a web application?

john198415 : On July 15, 2009 3:02 PM said:

Very interesting, I saw similar at http://gpalabs.com/

john198415 : On July 15, 2009 3:02 PM said:

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities