XsltListViewWebPart.InitialAsyncDataFetch Property

Gets or sets a value that indicates whether the XsltListViewWebPart fetches data asynchronously.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<ResourcesAttribute("DataFormWebPartAsyncDataFetch", "DataFormWebPartAJAXOptions",  _
    "DataFormWebPartAsyncDataFetchDescription")> _
<PersistenceModeAttribute(PersistenceMode.Attribute)> _
<WebBrowsableAttribute(True)> _
Public Overrides Property InitialAsyncDataFetch As Boolean
    Get
    Set
'Usage
Dim instance As XsltListViewWebPart
Dim value As Boolean

value = instance.InitialAsyncDataFetch

instance.InitialAsyncDataFetch = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("DataFormWebPartAsyncDataFetch", "DataFormWebPartAJAXOptions", 
    "DataFormWebPartAsyncDataFetchDescription")]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[WebBrowsableAttribute(true)]
public override bool InitialAsyncDataFetch { get; set; }

Property Value

Type: System.Boolean
true if the XsltListViewWebPart fetches data asynchronously; otherwise, false.

Remarks

This property is always false for a list that uses an external data source.

See Also

Reference

XsltListViewWebPart Class

XsltListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace