{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 'findComponent(id, parent)'
Method: findComponent(id, parent)
Method Full Name:     Sys$_Application$findComponent(id, parent)
Class: _Application
Namespace: Sys
Source File: MicrosoftAjax.debug.js
1   function Sys$_Application$findComponent(id, parent) {
2     /// <summary locid="M:J#Sys._Application.findComponent" />
3     /// <param name="id" type="String"></param>
4     /// <param name="parent" optional="true" mayBeNull="true"></param>
5     /// <returns type="Sys.Component" mayBeNull="true"></returns>
6     var e = Function._validateParams(arguments, [
7     {name: "id", type: String},
8     {name: "parent", mayBeNull: true, optional: true}
9     ]);
10    if (e) throw e;
11    return (parent ?
12    ((Sys.IContainer.isInstanceOfType(parent)) ?
13    parent.findComponent(id) :
14    parent[id] || null) :
15    Sys.Application._components[id] || null);
16  }
This is the JavaScript source for method findComponent(id, parent) from ASP.NET AJAX Library. Full name for this method is Sys$_Application$findComponent(id, parent). 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