ASP.NET AJAX: How Do I: Use JavaScript to Refresh an ASP.NET AJAX UpdatePanel?

Posted in Frameworks, Development, Web Technologies, Companies on April 07, 2009

Get Microsoft Silverlight

In this video we learn two different ways of using JavaScript logic to refresh the content of an ASP.NET AJAX UpdatePanel control. The first way is to add a Button-type server control to the UpdatePanel and use JavaScript to trigger an asynchronous postback and 'pretend' that the postback was caused by the server control inside the UpdatePanel. The second way does not require any Button-type server control to be added to the UpdatePanel, but still allows us to use JavaScript logic to refresh the content of the UpdatePanel. (The second technique was suggested by Dave Ward and you can read more on his weblog entry, " Easily refresh an UpdatePanel, using JavaScript ".)

Presented by Joe Stagner

Date: 25 July 2007

Watch Video Watch Video Watch Video on External Site

Tags: Frameworks, Javascript, Microsoft, ASP.NET, .NET Framework, ASP.NET AJAX