I'm trying to use the asp:label control with the AssociatedControlID attribute referring to the ID attribute in a telerik:RadTextBox, let's say ID="XXX". It does not work, no focus is put in the field when the label is clicked. After viewing the source you can see why, there is a hidden field with ID="XXX" and a visible field with ID="XXX_Text". I switch the telerik:RadTextBox to asp:textbox and it works. I consider this a bug, do others agree?
Works...
<asp:Label ID="NameFirst_label" runat="server" Text="First Name:" AssociatedControlID="NameFirst" />
<asp:TextBox ID="NameFirst" runat="server" />
Doesn't work...
<asp:Label ID="NameFirst_label" runat="server" Text="First Name:" AssociatedControlID="NameFirst" />
<telerik:RadTextBox ID="NameFirst" runat="server" />