{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 'set_name(value)'
Method: set_name(value)
Method Full Name:     Sys$UI$Behavior$set_name(value)
Class: Behavior
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   function Sys$UI$Behavior$set_name(value) {
2     var e = Function._validateParams(arguments, [{name: "value", type: String}]);
3     if (e) throw e;
4     if ((value === '') || (value.charAt(0) === ' ') || (value.charAt(value.length - 1) === ' '))
5     throw Error.argument('value', Sys.Res.invalidId);
6     if (typeof(this._element[value]) !== 'undefined')
7     throw Error.invalidOperation(String.format(Sys.Res.behaviorDuplicateName, value));
8     if (this.get_isInitialized()) throw Error.invalidOperation(Sys.Res.cantSetNameAfterInit);
9     this._name = value;
10  }
This is the JavaScript source for method set_name(value) from ASP.NET AJAX Library. Full name for this method is Sys$UI$Behavior$set_name(value). It belongs to the class Behavior, which is in Sys.UI namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map