// 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 'add_init(handler)'
Method: add_init(handler)
Method Full Name:     Sys$_Application$add_init(handler)
Class: _Application
Namespace: Sys
Source File: MicrosoftAjax.debug.js
1   function Sys$_Application$add_init(handler) {
2     /// <summary locid="E:J#Sys._Application.init" />
3     var e = Function._validateParams(arguments, [{name: "handler", type: Function}]);
4     if (e) throw e;
5     if (this._initialized) {
6       handler(this, Sys.EventArgs.Empty);
7     }
8     else {
9       this.get_events().addHandler("init", handler);
10    }
11  }
This is the JavaScript source for method add_init(handler) from ASP.NET AJAX Library. Full name for this method is Sys$_Application$add_init(handler). It belongs to the class _Application, which is in Sys namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map