Home / AJAX

Sys.UI.DataView.dataProvider Property

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

Gets or sets the data provider from which to fetch data.

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_dataProvider();
MyDataView.set_dataProvider(value)

Parameters

Parameter

Description

value

The data provider.

Return Value

The data provider.

Remarks

Gets or sets the data provider from which to fetch data. This provider may be a JSON Web Service URI, an instance of a Sys.Net.WebServiceProxy object, or a class that implements Sys.Data.IDataProvider.

See Also

Other Resources

Language Reference