Sys.UI.Control id Property
Gets or sets the identifier for the current Sys.UI.Control object.
To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel methods.
var i = MyControl.get_id();
The string to use as the identifier.
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 allow you to 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.