Share via


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<PersistenceModeAttribute(PersistenceMode.Attribute)> _
<ResourcesAttribute("DataFormWebPartAsyncDataFetch", "DataFormWebPartAJAXOptions",  _
    "DataFormWebPartAsyncDataFetchDescription")> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<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
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[ResourcesAttribute("DataFormWebPartAsyncDataFetch", "DataFormWebPartAJAXOptions", 
    "DataFormWebPartAsyncDataFetchDescription")]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[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