{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
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 '_onSaveComplete(result, context, methodName)'
Method: _onSaveComplete(result, context, methodName)
Method Full Name:     Sys$Services$_ProfileService$_onSaveComplete(result, context, methodName)
Class: _ProfileService
Namespace: Sys.Services
Source File: MicrosoftAjax.debug.js
1   function Sys$Services$_ProfileService$_onSaveComplete(result, context, methodName) {
2     var count = context[3];
3     if (result !== null) {
4       if (result instanceof Array) {
5         count -= result.length;
6       }
7       else if (typeof(result) === 'number') {
8         count = result;
9       }
10      else {
11        throw Error.invalidOperation(String.format(Sys.Res.webServiceInvalidReturnType, methodName, "Array"));
12      }
13    }
14    
15    var callback = context[0] || this.get_defaultSaveCompletedCallback() || this.get_defaultSucceededCallback();
16    if (callback) {
17      var userContext = context[2] || this.get_defaultUserContext();
18      callback(count, userContext, "Sys.Services.ProfileService.save");
19    }
20  }
This is the JavaScript source for method _onSaveComplete(result, context, methodName) from ASP.NET AJAX Library. Full name for this method is Sys$Services$_ProfileService$_onSaveComplete(result, context, methodName). It belongs to the class _ProfileService, which is in Sys.Services namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map