Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET UniqueID Property

ASP.NET UniqueID Property


Standard Control Properties Reference Manual Control standard properties reference manual


Definition and Usage

The UniqueID property gets the control's unique, hierarchically qualified, automatically generated identifier. This property differs from the ID property because the UniqueID property includes the identifier of the control's naming container. The identifier is generated automatically when the page request is processed.


Example

The following example shows the UniqueID of a Button control:

Text="Get UniqueID" runat="server" />

Demo Example »


Standard Control Properties Reference Manual Control standard properties reference manual