// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method '_onLoadComplete(result, context, methodName)'
Method: _onLoadComplete(result, context, methodName)
Method Full Name:     Sys$Services$_RoleService$_onLoadComplete(result, context, methodName)
Class: _RoleService
Namespace: Sys.Services
Source File: MicrosoftAjax.debug.js
1   function Sys$Services$_RoleService$_onLoadComplete(result, context, methodName) {
2     if(result && !(result instanceof Array)) {
3       throw Error.invalidOperation(String.format(Sys.Res.webServiceInvalidReturnType, methodName, "Array"));
4     }
5     this._roles = result;
6     this._rolesIndex = null;
7     var callback = context[0] || this.get_defaultLoadCompletedCallback() || this.get_defaultSucceededCallback();
8     if (callback) {
9       var userContext = context[2] || this.get_defaultUserContext();
10      var clonedResult = Array.clone(result);
11      callback(clonedResult, userContext, "Sys.Services.RoleService.load");
12    }
13  }
This is the JavaScript source for method _onLoadComplete(result, context, methodName) from ASP.NET AJAX Library. Full name for this method is Sys$Services$_RoleService$_onLoadComplete(result, context, methodName). It belongs to the class _RoleService, which is in Sys.Services namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map