Home / AJAX

Sys.UI.DataView.autoFetch Property

RSS
Modified on 2009/11/14 19:12 by Administrator Categorized as Uncategorized

Gets or sets a boolean value that indicates whether data should be retrieved immediately from a data source when the page loads and when either the provider is changed or the fetch operation is changed.

NoteNote:

To get property values for client API properties, you must call the property accessor method that is named with the get_ prefix. For example, to get a value for a property such as cancel, you call the get_cancel method.

var a = MyDataView.get_autoFetch();
MyDataView.set_autoFetch(value)

Parameters

Parameter

Description

value

true if the data should be retrieved immediately from a data source when the page loads, otherwise false.

Return Value

true if the data should be retrieved immediately from a data source when the page loads, otherwise false.

Remarks

The default value is false.

See Also

Other Resources

Language Reference