// 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 'set_id(value)'
Method: set_id(value)
Method Full Name:     Sys$Component$set_id(value)
Class: Component
Namespace: Sys
Source File: MicrosoftAjax.debug.js
1   function Sys$Component$set_id(value) {
2     var e = Function._validateParams(arguments, [{name: "value", type: String}]);
3     if (e) throw e;
4     if (this._idSet) throw Error.invalidOperation(Sys.Res.componentCantSetIdTwice);
5     this._idSet = true;
6     var oldId = this.get_id();
7     if (oldId && Sys.Application.findComponent(oldId)) throw Error.invalidOperation(Sys.Res.componentCantSetIdAfterAddedToApp);
8     this._id = value;
9   }
This is the JavaScript source for method set_id(value) from ASP.NET AJAX Library. Full name for this method is Sys$Component$set_id(value). It belongs to the class Component, which is in Sys namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map