I got a trouble about if I re-Template the CalendarButton, then the RadCalendar doesn't work with DayTemplateSelector.
It doesnot work if I set the DayButtonStyle which inside the style I retemplate the Calendarbutton.
It will work with selector only if I delete the retemplate part in the CalendarButtonStyle.
How can I use the selector as well as retemplate the CalendarButton.
Hoping for your help. Thanks.
It doesnot work if I set the DayButtonStyle which inside the style I retemplate the Calendarbutton.
<telerik:RadCalendar DayButtonStyle="{StaticResource CalendarButtonStyle}" > <telerik:RadCalendar.Style> <Style TargetType="{x:Type telerik:RadCalendar}"> <Setter Property="DayTemplate" Value="{x:Null}"/> <Setter Property="DayTemplateSelector" > <Setter.Value> <local:CustomTemplateSelector/> </Setter.Value> </Setter> </Style> </telerik:RadCalendar.Style></telerik:RadCalendar>It will work with selector only if I delete the retemplate part in the CalendarButtonStyle.
How can I use the selector as well as retemplate the CalendarButton.
Hoping for your help. Thanks.