Paul Mendoza C# blog
Sunday, January 21, 2007
  Refresh ATLAS AJAX UpdatePanel via Javascript
I just saw this excellent little post by Raj Kaimal on how to refresh an Microsoft AJAX (formerly ATLAS) UpdatePanel by using JavaScript. If you use Microsoft AJAX, this is a great blog to subscribe to. Raj Kaimal has some really useful advice on implementing Microsoft AJAX features.

At some point if you're working with the UpdatePanel, you're going to want to do this. I once needed to do a bunch of processing on a server and I wanted the page to check the server every couple of seconds to see if the actions had been completed yet but I didn't want to reload the entire page each time so I used something like this.

I have seen this asked a couple of times in the newsgroups hence this post. A simple way of refreshing an UpdatePanel using JavaScript is to add a HiddenField to the page, change its value using JS and then have the HiddenField raise a postback event...

Read the rest from Raj Kaimal's blog
 
Comments: Post a Comment





<< Home
I am currently an ASP.NET, C# developer working on MangosteenNation.com, a XanGo website for helping people build their businesses. I am also pursuing a degree at CSU San Marcos in Southern California.

XanGo at Mangosteen Nation

Archives
October 2005 / November 2005 / December 2005 / January 2006 / February 2006 / March 2006 / April 2006 / May 2006 / June 2006 / July 2006 / August 2006 / September 2006 / October 2006 / November 2006 / December 2006 / January 2007 / April 2007 / May 2007 / June 2007 / August 2007 / February 2008 / August 2008 /


Powered by Blogger

Subscribe to
Posts [Atom]