// 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 'addCssClass(className)'
Method: addCssClass(className)
Method Full Name:     Sys$UI$Control$addCssClass(className)
Class: Control
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   function Sys$UI$Control$addCssClass(className) {
2     /// <summary locid="M:J#Sys.UI.Control.addCssClass" />
3     /// <param name="className" type="String"></param>
4     var e = Function._validateParams(arguments, [
5     {name: "className", type: String}
6     ]);
7     if (e) throw e;
8     if (!this._element) throw Error.invalidOperation(Sys.Res.cantBeCalledAfterDispose);
9     Sys.UI.DomElement.addCssClass(this._element, className);
10  }
This is the JavaScript source for method addCssClass(className) from ASP.NET AJAX Library. Full name for this method is Sys$UI$Control$addCssClass(className). 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