RadInputManager and RadTimePicker

2 posts, 0 answers
  1. Jonas Karlsson
    Jonas Karlsson avatar
    8 posts
    Member since:
    Nov 2009

    Posted 10 Feb 2010 Link to this post

    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
  2. Dimo
    Admin
    Dimo avatar
    8485 posts

    Posted 11 Feb 2010 Link to this post

    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.
Back to Top