Monday, March 1, 2010 8:06 AM Jan Tielens

Little SharePoint 2010 Gem: AJAX Options in List View Web Parts

Last week I stumbled upon some pretty neat functionality of the out-of-the-box List View Web Part in SharePoint 2010: the AJAX Options. When you add a Web Part from the List and Libraries category (that basically shows you every List and Document Library you have on the SharePoint site) behind the scenes the Data View Web Part is being used to display the List or Document Library data.

When you edit such a Web Part once it has been added to a page, you’ll notice there is a new AJAX Options section in the Web Part properties. AJAX stands for Asynchronous Javascript and XML and is a web development technique to build more interactive, rich web sites. The AJAX Options are disabled by default, but by enabling you can get some pretty cool results:

  • Enable Asynchronous Update: enabling this option will make paging, sorting, filtering work without full page refreshes.
  • Show Manual Refresh Button: enabling this option will show an icon to allow the user the refresh the data manually, once again without refreshing the rest of the page.
  • Enable Asynchronous Automatic Refresh: when enabled, the Web Part will dynamically refresh the date it’s showing, without completely reloading the page. The interval can be specified in the textbox below.
  • Automatic Refreshing Interval: specifies the interval used in the previous option.
  • Enable Asynchronous Load: when enabled, the Web Part will initially be displayed without any data in it. But once the page is loaded, the Web Part will asynchronously fetch the data afterwards. When the data is being loaded, the Web Part will display an animation. This option will speed up the initial page load.
Filed under:

Comments

# re: Little SharePoint 2010 Gem: AJAX Options in List View Web Parts

Monday, March 1, 2010 7:37 AM by Brian Bedard

Is it the DVWP or the new Xslt List View WP?

# re: Little SharePoint 2010 Gem: AJAX Options in List View Web Parts

Monday, March 1, 2010 1:48 PM by Kevin

Is this for Window SharePoint Foundation as well??

# re: Little SharePoint 2010 Gem: AJAX Options in List View Web Parts

Monday, March 1, 2010 1:50 PM by kdavis6

Is this included with Windows SharePoint Foundation as well?

# re: Little SharePoint 2010 Gem: AJAX Options in List View Web Parts

Tuesday, March 2, 2010 12:05 PM by Daniel Keegan

@Brian Bedard - it looks like its the Data View Web Part, but added to the page automatically configured to pull from the list/library you selected.

If I ever get to develop on a SP2010 site, I would love to have one or a combination of those features enabled by default... it would be a pain to have to find that option for every web part on the site and tick the boxes.