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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<PersistenceModeAttribute(PersistenceMode.Attribute)> _
<ResourcesAttribute("DataFormWebPartAsyncRefresh", "DataFormWebPartAJAXOptions", _
"DataFormWebPartAsyncRefreshDescription")> _
<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
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[ResourcesAttribute("DataFormWebPartAsyncRefresh", "DataFormWebPartAJAXOptions",
"DataFormWebPartAsyncRefreshDescription")]
[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.