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

Why was IsTodayHighlighted deprecated on RadDatePicker?

1 Answer 87 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John Thompson
Top achievements
Rank 2
John Thompson asked on 20 Jul 2010, 03:07 PM
This doesn't make since!  I see the documentation site has RadDatePicker still using RadCalendar but the source has it inheriting from RadDateTimePicker.  RadDateTimePicker does not have this property and highlights the first displayed day when in DatePicker mode.

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 23 Jul 2010, 09:38 AM
Hello John Thompson,

Sorry for the misleading caused. All of the properties regarding the RadCalendar configuration are now accessible through the CalendadStyle property of the RadDatePicker and RadDateTimePicker. Removing most of the proxy properties of the control was one of the big refactoring when developing the new RadDateTimePicker control. Check the code snippet bellow, showing you how to use and set the IsTodayHighlighted through the CalendarStyle property:
<telerik:RadDatePicker x:Name="datePicker" HorizontalAlignment="Center"
                VerticalAlignment="Center">
            <telerik:RadDatePicker.CalendarStyle>
                <Style TargetType="telerik:RadCalendar">
                    <Setter Property="IsTodayHighlighted" Value="True" />
                </Style>
            </telerik:RadDatePicker.CalendarStyle>
</telerik:RadDatePicker>












Greetings,
Kaloyan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DatePicker
Asked by
John Thompson
Top achievements
Rank 2
Answers by
Kaloyan
Telerik team
Share this question
or