{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 'get_parent()'
Method: get_parent()
Method Full Name:     Sys$UI$Control$get_parent()
Class: Control
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   function Sys$UI$Control$get_parent() {
2     /// <value type="Sys.UI.Control" locid="P:J#Sys.UI.Control.parent"></value>
3     if (arguments.length !== 0) throw Error.parameterCount();
4     if (this._parent) return this._parent;
5     if (!this._element) return null;
6     
7     var parentElement = this._element.parentNode;
8     while (parentElement) {
9       if (parentElement.control) {
10        return parentElement.control;
11      }
12      parentElement = parentElement.parentNode;
13    }
14    return null;
15  }
This is the JavaScript source for method get_parent() from ASP.NET AJAX Library. Full name for this method is Sys$UI$Control$get_parent(). 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