Home / AJAX

Sys.UI.DataView.fetchData Method

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

Retrieves data from the provider using the dataProvider property.

MyDataViewControl.fetchData(succeededCallback, failedCallback, mergeOption, userContext);

Arguments

succeededCallback

(Optional) The delegate function called when data is successfully retrieved.

failedCallback

(Optional) The delegate function called when data is not successfully retrieved.

mergeOption

(Optional) An instance of a MergeOption enumeration value.

userContext

(Optional) A context object associated with this operation.

Return Value

A WebRequest object that is used to perform the operation, if any.

Remarks

When the data returns, the data property of the DataView object is updated with the returned data.

See Also

Other Resources

Language Reference