ASP.NET ID Property
Complete Control Standard Properties Reference
Definition and Usage
The ID property is used as identification for a
control.
This property should always be set. It is used when other controls or scripts
interact with the current control.
Syntax
<asp:webcontrol id="id" runat="server" />
Example
The following example shows a button with the ID property set:
<form runat="server">
<asp:Button id="button" text="Submit" runat="server" />
</form>
Show example »
Complete Control Standard Properties Reference
Color Picker