DataFormWebPart.AsyncRefresh property

Gets or sets a value that indicates whether the asynchronous refresh is enabled.

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

Syntax

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

value = instance.AsyncRefresh

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

Property value

Type: System.Boolean
true if the asynchronous refresh is enabled; otherwise, false.

Remarks

If the AsyncRefresh is set to false, the ManualRefresh will also be set to false.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace