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

Datepicker issues

2 Answers 108 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 28 Aug 2014, 11:34 AM
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:

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"    

<telerik:RadDatePicker Grid.Row="0" Grid.Column="1"                                                                              
                                          Width="120" InputMode="DatePicker"
                                          HorizontalAlignment="Left" VerticalAlignment="Top" 
                                          Margin="10,10,5,5"></telerik:RadDatePicker>


Please see the attached screenshot.

2 Answers, 1 is accepted

Sort by
0
Accepted
Masha
Telerik team
answered on 29 Aug 2014, 06:21 AM
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?

Regards,
Masha
Telerik
 
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.
 
0
Josh
Top achievements
Rank 1
answered on 29 Aug 2014, 08:40 AM
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"/>
                </ResourceDictionary.MergedDictionaries>

Now it's working as expected. Thanks !

           






Tags
DatePicker
Asked by
Josh
Top achievements
Rank 1
Answers by
Masha
Telerik team
Josh
Top achievements
Rank 1
Share this question
or