This question is locked. New answers and comments are not allowed.
This is similar to the following post:
http://www.telerik.com/forums/date-picker-date-day-are-not-matching-after-replacing-2014-dlls
I took the sample provided by the Telerik help on that thread and reproduced the issue
Step 1
Create a simple DayTemplateSelector:
Step 2
Wire up the xaml (omitted non-relevant code):
Step 3
Run app and click bring down down calendar.
Result:
Result-October.png doesn't have October 31st. Also noticed how the October 29th and October 30th are showed as disabled (part of the next month)
Result-Semptember.png shows the same days except some are disabled and some are not (which is incorrect). Also, notice the week numbers on left hand side doesn't update. These week numbers are from the month of December. If you keep going back on the calendar, the week numbers will not be updated either.
Has this issue been fixed and/or is there a workaround?
Thanks,
Jose
http://www.telerik.com/forums/date-picker-date-day-are-not-matching-after-replacing-2014-dlls
I took the sample provided by the Telerik help on that thread and reproduced the issue
Step 1
Create a simple DayTemplateSelector:
public
class
DateTemplateSelector : DataTemplateSelector
{
public
override
DataTemplate SelectTemplate(
object
item, DependencyObject container)
{
return
base
.SelectTemplate(item, container);
}
}
Step 2
Wire up the xaml (omitted non-relevant code):
<
UserControl.Resources
>
<
dateTimePickerSl:DateTemplateSelector
x:Key
=
"DateTemplateSelector"
/>
</
UserControl.Resources
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
telerik:RadDatePicker
x:Name
=
"datePickerEndDate"
Grid.Row
=
"2"
>
<
telerik:RadDatePicker.CalendarStyle
>
<
Style
TargetType
=
"telerik:RadCalendar"
>
<
Setter
Property
=
"DayTemplateSelector"
Value
=
"{StaticResource DateTemplateSelector}"
/>
</
Style
>
</
telerik:RadDatePicker.CalendarStyle
>
</
telerik:RadDatePicker
>
</
Grid
>
Step 3
Run app and click bring down down calendar.
Result:
Result-October.png doesn't have October 31st. Also noticed how the October 29th and October 30th are showed as disabled (part of the next month)
Result-Semptember.png shows the same days except some are disabled and some are not (which is incorrect). Also, notice the week numbers on left hand side doesn't update. These week numbers are from the month of December. If you keep going back on the calendar, the week numbers will not be updated either.
Has this issue been fixed and/or is there a workaround?
Thanks,
Jose