According to the thread at http://www.telerik.com/community/forums/thread/b311D-hmktb.aspx the assertion that the SetFocusOnError issues were fixed in the "Q2 2008" release.
Here's the post.
-------------
Hi Justin,
The problem has been addressed for Q1 2008 SP1 version labeled 2008.1.515.
Please, give the latest Q2 2008 "Futures" build a try. You can read more about it here.
Greetings,
Konstantin Petkov
the Telerik team
---------
However I am using Ver 2008.2.804.20 and can't get the focus to go to the controls that I have tried (text box, date picker). So, which controls does SetFocusOnError work on and how do you get it to work?
<telerik:RadTextBox ID="State" runat="server" TabIndex="5" >
<FocusedStyle BackColor="#F1F6FC" />
</telerik:RadTextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="State" Display="Dynamic" SetFocusOnError="True">Required
</asp:RequiredFieldValidator>
Or
<telerik:RadDatePicker ID="rdpStartDate" runat="server" DateInput-FocusedStyle-BackColor="#F1F6FC" ToolTip="Select Start Date" CssClass="inline"></telerik:RadDatePicker>
<asp:RequiredFieldValidator id="rfvStartDate" runat="server"
text="* Required" controltovalidate="rdpStartDate" validationgroup="validate"
initalvalue="" CssClass="inline" ErrorMessage="Required"
SetFocusOnError="True" ></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="rdpEndDate"
ControlToValidate="rdpStartDate" ErrorMessage="Start Date must be before End Date"
Operator="LessThan" SetFocusOnError="True" CssClass="block valCustom" ></asp:CompareValidator>
does not work for me.
I love your controls, but some times they are a pain.
Keith E.
Here's the post.
-------------
Hi Justin,
The problem has been addressed for Q1 2008 SP1 version labeled 2008.1.515.
Please, give the latest Q2 2008 "Futures" build a try. You can read more about it here.
Greetings,
Konstantin Petkov
the Telerik team
---------
However I am using Ver 2008.2.804.20 and can't get the focus to go to the controls that I have tried (text box, date picker). So, which controls does SetFocusOnError work on and how do you get it to work?
<telerik:RadTextBox ID="State" runat="server" TabIndex="5" >
<FocusedStyle BackColor="#F1F6FC" />
</telerik:RadTextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="State" Display="Dynamic" SetFocusOnError="True">Required
</asp:RequiredFieldValidator>
Or
<telerik:RadDatePicker ID="rdpStartDate" runat="server" DateInput-FocusedStyle-BackColor="#F1F6FC" ToolTip="Select Start Date" CssClass="inline"></telerik:RadDatePicker>
<asp:RequiredFieldValidator id="rfvStartDate" runat="server"
text="* Required" controltovalidate="rdpStartDate" validationgroup="validate"
initalvalue="" CssClass="inline" ErrorMessage="Required"
SetFocusOnError="True" ></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="rdpEndDate"
ControlToValidate="rdpStartDate" ErrorMessage="Start Date must be before End Date"
Operator="LessThan" SetFocusOnError="True" CssClass="block valCustom" ></asp:CompareValidator>
does not work for me.
I love your controls, but some times they are a pain.
Keith E.