ASP.NET 4.0 ClientID Property

1 Legacy: ClientID property for the control behaves same as earlier versions of ASP.NET.

2 Static: ClientID for the control will be the same value as set in code.

3 Inherit I: control’s ClientID will inherit the value of its parent.

4 Predictable: while using repeating templates.


ex: <asp:TextBox ID="myID" runat="server" ClientIDMode="Inherit" />