Enable AJAX option for Content Query Web Part (CQWP) in SharePoint 2010

Enable AJAX option for Content Query Web Part (CQWP) in SharePoint 2010

Export your CQWP and open it in a text editor

Look for the following lines:

<property name=”InitialAsyncDataFetch” type=”bool”>False</property>
<property name=”AsyncRefresh” type=”bool”>False</property>
<property name=”ManualRefresh” type=”bool”>False</property>
<property name=”AutoRefresh” type=”bool”>False</property>
<property name=”AutoRefreshInterval” type=”int”>60</property>

The above properties map as below:

InitialAsyncDataFetch: Enable Asynchronous Load
AsyncRefresh: Enable Asynchronous Update
ManualRefresh: Show Manual Refresh Button
AutoRefresh: Enable Asynchronous Automatic Refresh
AutoRefreshInterveral: Automatic Refresh Interval (seconds)

After setting the property “InitialAsyncDataFetch” to true, the web part loaded asynchronously

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s