Sys.UI.Control id Property
Gets the identifier for the current Sys.UI.Control object.
Note
|
|---|
|
To get property values for client API properties, you must call the property accessor method that is named with the get_ prefix. For example, to get a value for a property such as cancel, you call the get_cancel method. |
var i = MyControl.get_id();
The identifier for the current Control object. The default is the id value of the associated Sys.UI.DomElement object.
The base implementation of this property does not let you set the value of the id property after the control has been initialized. Instead, set this property in the $create statement that adds the control to the application, or use the default value.
Show:
Note