Datepicker issues

3 posts, 1 answers
  1. Josh
    Josh avatar
    8 posts
    Member since:
    Aug 2014

    Posted 28 Aug 2014 Link to this post

    I'm using WPF Telerik Controls Q2 2014. When I use RadDatePicker, it also allows to select time (which is not the expected behaviour). Tried setting InputMode="DatePicker", still didn't help. Also, the selected date is not displayed properly as the watermark is visible everytime. Am I missing anything ?

    My code is:


    <telerik:RadDatePicker Grid.Row="0" Grid.Column="1"                                                                              
                                              Width="120" InputMode="DatePicker"
                                              HorizontalAlignment="Left" VerticalAlignment="Top" 

    Please see the attached screenshot.
  2. Answer
    Masha avatar
    355 posts

    Posted 29 Aug 2014 Link to this post

    Hello Josh,

    We could not reproduce the described issue. I've attached a sample project which shows how RadDatePicker works at our side.  Which styling mechanism are you using - implicit styles or StyleManager. If you are using implicit styles please check that  NoXaml binaries are referenced in the project.

    It would be really helpful if you can send us a demo project to demonstrate this problem so that we can conduct further research?

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. Josh
    Josh avatar
    8 posts
    Member since:
    Aug 2014

    Posted 29 Aug 2014 Link to this post

    Hello Masha ,

    Thank you for investigating. I found that I missed the following styles

             <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/System.Windows.xaml"/>
                        <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.xaml"/>
                        <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.Input.xaml"/>

    Now it's working as expected. Thanks !


Back to Top