DataFormWebPart.InitialAsyncDataFetch property

Gets or sets a value that indicates whether to initially fetch data for the DataFormWebPart using an asynchronous callback when the DataFormWebPart is loaded.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

value = instance.InitialAsyncDataFetch

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

Property value

Type: System.Boolean
true if the DataFormWebPart initially fetch data using an asynchronous callback when the DataFormWebPart is loaded; otherwise, false.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace