This topic has not yet been rated - Rate this topic

DataFormWebPart.AutoRefreshInterval Property

SharePoint 2010

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

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[WebBrowsableAttribute(true)]
[ResourcesAttribute("DataFormWebPartAutoRefreshInterval", "DataFormWebPartAJAXOptions", 
	"DataFormWebPartAutoRefreshIntervalDescription")]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public virtual int AutoRefreshInterval { get; set; }

Property Value

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

Value is less than 15 seconds.

The default is 60 seconds.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ