Loads data for a property that was not included with the data returned by a retrieval operation.
|
|---|
fetchDeferredProperty: function(item, propertyName, succeededCallback, failedCallback, userContext, webRequest) |
Usage
| |
|---|
exampleDataService.fetchDeferredProperty(item, propertyName, succeededCallback, failedCallback, userContext, webRequest);
|
Parameters
Return Value
The Sys.Net.WebRequest object that performed the operation.
Remarks
Example
The following example shows you how to use the fetchDeferredProperty method to request the data for a property that was excluded from the original results.
| |
|---|
if (selectedItem.ProductSubcategory.__deferred) {
exampleServiceProxy.fetchDeferredProperty(
selectedItem,
"ProductSubcategory",
succeededFetchDeferredCallback,
failedFetchDeferredCallback
);
}
|
See Also
Other Resources
ASP.NET AJAX Roadmap