I using the <telerik:RadDatePicker>
DisplayFormat = (Long or short) only there I need a customer format how we archive.
Example : 1 July 2025, 1 JUL 2025
Is it possible to have the RadCalendar inside the RadDatePicker and RadDateRangePicker to have a different theme than the RadDatePicker and the RadDateRangePicker?
I tried setting this within the RadDatePicker control's xaml:
<telerik:RadDateTimePicker.CalendarStyle>
<Style TargetType="telerik:RadCalendar">
<Setter Property="telerik:StyleManager.Theme"
Value="Windows11" />
</Style>
</telerik:RadDateTimePicker.CalendarStyle>
...but it has no effect.
When Static header are enabled and few columns are fixed,
Scenario:
1.If the Start and End Dates range are more than 1 month, the data is not exactly aligned with the Header dates after scrolling towards right.
2.If filter is applied, then the footer is displayed at very bottom.
Hello,
How can I change the header button text color and the week number text color (see attachment)?
Kind regards
Hello,
I want to know if its possible to update Gantt Tasks when you change a Start Date or End Date from the Grid View part. For example, if I delay Proptotype Task, all the task behind should be delayed the same time as Prototype.
Hi,
I used RadTimeSpanPicker, but I got a situation where I also needed a date.
So I want to use RadDateTimePicker as in the picture,
But with the RadTimeSpanPicker clock and not with the clock that RadDateTimePicker has.
I would be happy to help if this can be done and how
Thank you.
I want to change DateTime.Now format like MM/dd/yyyy throughout application. so please help me out.
Thanks & Regards
Murugan M
I edited the template of RadDatePicker, when i click the left and right button to change the month, the month component of date number is totally still, won't change by different month.
I found if DayButtonStyle part is deleted, then nothing wrong. But I need to change DayButtonStyle, is there any solution?
<telerik:RadDatePicker Style="{DynamicResource RadDatePickerStyle1}" IsEnabled="True" IsReadOnly="False" Margin="2 0"/>
<Setter Property="DayButtonStyle">
<Setter.Value>
<Style TargetType="{x:Type Calendar:CalendarButton}">
<Setter Property="FontFamily" Value="Microsoft YaHei UI"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="Foreground" Value="{DynamicResource BasicFont}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="MinWidth" Value="24"/>
<Setter Property="MinHeight" Value="24"/>
<Setter Property="FontWeight" Value="Normal"/>
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Calendar:CalendarButton}">
<Grid x:Name="LayoutRoot" Background="Transparent">
<Border x:Name="BorderVisual" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="10" Margin="1"/>
<ContentControl x:Name="Content" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" Foreground="{TemplateBinding Foreground}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsTabStop="False" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsFromCurrentView" Value="False">
<Setter Property="Opacity" TargetName="Content" Value="0.6"/>
</Trigger>
<Trigger Property="IsKeyboardFocusWithin" Value="True">
<Setter Property="BorderBrush" TargetName="BorderVisual" Value="{DynamicResource BrightColor}"/>
<Setter Property="BorderThickness" TargetName="BorderVisual" Value="1"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" TargetName="BorderVisual" Value="{DynamicResource BrightColor}"/>
<Setter Property="BorderBrush" TargetName="BorderVisual" Value="{DynamicResource BrightColor}"/>
<Setter Property="Foreground" Value="White"/>
</Trigger>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" TargetName="BorderVisual" Value="{DynamicResource BrightColor}"/>
<Setter Property="BorderBrush" TargetName="BorderVisual" Value="{DynamicResource BrightColor}"/>
<Setter Property="Foreground" Value="White"/>
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Opacity" TargetName="Content" Value="0.6"/>
</Trigger>
<Trigger Property="ButtonType" Value="TodayDate">
<Setter Property="BorderBrush" TargetName="BorderVisual" Value="Gray"/>
<Setter Property="Foreground" Value="{DynamicResource BasicFont}"/>
<Setter Property="FontWeight" TargetName="Content" Value="Bold"/>
</Trigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsEnabled" Value="False"/>
<Condition Property="IsMouseOver" Value="True"/>
</MultiTrigger.Conditions>
<Setter Property="Foreground" TargetName="Content" Value="White"/>
</MultiTrigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsFromCurrentView" Value="False"/>
<Condition Property="IsMouseOver" Value="True"/>
</MultiTrigger.Conditions>
<Setter Property="Opacity" TargetName="Content" Value="1"/>
</MultiTrigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="ButtonType" Value="TodayDate"/>
<Condition Property="IsMouseOver" Value="True"/>
</MultiTrigger.Conditions>
<Setter Property="Foreground" TargetName="Content" Value="White"/>
<Setter Property="Background" TargetName="BorderVisual" Value="{DynamicResource BrightColor}"/>
<Setter Property="BorderBrush" TargetName="BorderVisual" Value="{DynamicResource BrightColor}"/>
</MultiTrigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="ButtonType" Value="TodayDate"/>
<Condition Property="IsSelected" Value="True"/>
</MultiTrigger.Conditions>
<Setter Property="Background" TargetName="BorderVisual" Value="{DynamicResource BrightColor}"/>
<Setter Property="BorderBrush" TargetName="BorderVisual" Value="{DynamicResource BrightColor}"/>
<Setter Property="Foreground" Value="White"/>
</MultiTrigger>
<Trigger Property="ButtonType" Value="WeekNumber">
<Setter Property="Foreground" TargetName="Content" Value="{DynamicResource BasicFont}"/>
<Setter Property="Opacity" TargetName="Content" Value="0.2"/>
<Setter Property="Visibility" TargetName="BorderVisual" Value="Collapsed"/>
</Trigger>
<Trigger Property="ButtonType" Value="WeekName">
<Setter Property="Foreground" TargetName="Content" Value="{DynamicResource BrightColor}"/>
<Setter Property="Visibility" TargetName="BorderVisual" Value="Collapsed"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Setter.Value>
</Setter>