// 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 'Control(element)'
Method: Control(element)
Method Full Name:     Sys$UI$Control(element)
Class: Control
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   Sys.UI.Control = function Sys$UI$Control(element) {
2     /// <summary locid="M:J#Sys.UI.Control.#ctor" />
3     /// <param name="element" domElement="true"></param>
4     var e = Function._validateParams(arguments, [
5     {name: "element", domElement: true}
6     ]);
7     if (e) throw e;
8     if (typeof(element.control) != 'undefined') throw Error.invalidOperation(Sys.Res.controlAlreadyDefined);
9     Sys.UI.Control.initializeBase(this);
10    this._element = element;
11    element.control = this;
12  }
This is the JavaScript source for method Control(element) from ASP.NET AJAX Library. Full name for this method is Sys$UI$Control(element). It belongs to the class Control, which is in Sys.UI namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map