This is a migrated thread and some comments may be shown as answers.

[Solved] RadInputManager and RadTimePicker

1 Answer 122 Views
Input
This is a migrated thread and some comments may be shown as answers.
Jonas Karlsson
Top achievements
Rank 1
Jonas Karlsson asked on 10 Feb 2010, 02:20 PM
I need some help on how to validate a RadTimePicker input with RadInputManager.

 <telerik:RadTimePicker ID="tpPreFirstSurvey" runat="server" /> 

And within the RadInputManager tag:

  <telerik:DateInputSetting BehaviorID="DateInputBehavior3" DateFormat="hh:mm" Validation-IsRequired="true" > 
        <TargetControls> 
            <telerik:TargetInput ControlID="tpPreFirstSurvey" /> 
        </TargetControls> 
  </telerik:DateInputSetting> 

Any suggestions how to validate the time input? Can“t get it to work...

Best Regards,
Jonas

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 11 Feb 2010, 09:23 AM
Hello Jonas Karlsson,

RadInputManager is not designed to work with RadInput textboxes or RadDateTimePickers. This leads to more Javascript being loaded and executed, and the RadInput/RadDateTimePicker value may get messed up. RadInputManager works with plain textbox controls.

Please use some ASP validator with your RadTimePicker.

Greetings,
Dimo
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
Input
Asked by
Jonas Karlsson
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or