Sys.UI.Control Class
Provides the base class for all ASP.NET AJAX client controls.
Namespace: Sys.UI
Inherits: Sys.Component
var a = new MyControl(element);
Name | Description |
|---|---|
Adds a CSS class to the HTML Document Object Model (DOM) element that the current Control object is associated with. | |
Removes the current Control object from the application by releasing all associated resources and freeing the memory used by the control. | |
Initializes the current Control object. | |
Called when an event is raised by the raiseBubbleEvent method. | |
Calls the onBubbleEvent method of the parent control. | |
Removes a CSS class from the DOM element that the current Control object is associated with. | |
Toggles a CSS class on the DOM element that the current Control object is associated with. | |
Gets the DOM element that the current Control object is associated with. | |
Gets or sets the identifier for the current Control object. | |
Gets or sets the parent control for the current Control object. | |
Gets a string representing the role of the control. | |
Gets or sets the Sys.UI.VisibilityMode value for the current Control object. | |
Gets or sets the visibility of the current Control object. |
Sys.UI.Control is a base class and should not be instantiated directly. For information about how to create a control that inherits from Sys.UI.Control, see Creating Custom AJAX Client Controls.
Note |
|---|
Instances of any class derived from Sys.UI.Control cannot be attached to a Label element in the Opera browser. |
Note