DataFormWebPart.AutoRefreshInterval property

Gets or sets the rate, in seconds, at which a dataview automatically refreshes.

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

Syntax

[PersistenceModeAttribute(PersistenceMode.Attribute)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
[ResourcesAttribute("DataFormWebPartAutoRefreshInterval", "DataFormWebPartAJAXOptions", 
    "DataFormWebPartAutoRefreshIntervalDescription")]
public virtual int AutoRefreshInterval { get; set; }

Property value

Type: System.Int32
The length of time it takes to refresh the dataview asynchronously.

Exceptions

Exception Condition
NotSupportedException

Value is less than 15 seconds.

Remarks

The default is 60 seconds.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace