Hello,
I'm using Telerik for WPF, version 2020.1.218, and I am using RadGridView with filters. One of the colums is a Date type, and when I am changing the culture in order to translate the application, the filter is correctly translated. However, if I click on the calendar icon to select the date, that component is not being translated. Is this a bug?
Kind regards,
Román.

Below is a simplified version of the style currently used:
<Grid.Resources>
<Style TargetType="telerik:TreeListViewRow">
<!-- Default row color based on data -->
<Setter Property="Background">
<Setter.Value>
<Binding Path="FileSource">
<Binding.Converter>
<converter:SourceTypeToColorConverter/>
</Binding.Converter>
</Binding>
</Setter.Value>
</Setter>
<Setter Property="MouseOverBackground" Value="LightBlue"/>
<Style.Triggers>
<!-- Default selected row color -->
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="LightBlue"/>
</Trigger>
<!-- Selected color for local files -->
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Property="IsSelected" Value="True"/>
<Condition Binding="{Binding FileSource}" Value="LocalFile"/>
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="LightGreen"/>
</MultiDataTrigger>
<!-- Selected color for remote files -->
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Property="IsSelected" Value="True"/>
<Condition Binding="{Binding FileSource}" Value="RemoteFile"/>
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="LightYellow"/>
</MultiDataTrigger>
</Style.Triggers>
</Style>
</Grid.Resources>Hello Telerik Team,
I am currently working with TreeListView in a WPF application and I am facing an issue related to row background color overriding when a row is selected.
In my application, certain rows need to have a custom background color depending on their type (for example: LocalFile and RemoteFile). The custom color works correctly when the row is not selected.
However, when the row is selected, the default RadTreeListView selection background color overrides the custom color, and the File-specific color is no longer visible.
My goal is to preserve the custom background color when the row is selected.
Below is a simplified version of the style currently used:
<Grid.Resources>
<Style TargetType="telerik:TreeListViewRow">
<!-- Default row color based on data -->
<Setter Property="Background">
<Setter.Value>
<Binding Path="FileSource">
<Binding.Converter>
<converter:SourceTypeToColorConverter/>
</Binding.Converter>
</Binding>
</Setter.Value>
</Setter>
<Setter Property="MouseOverBackground" Value="LightBlue"/>
<Style.Triggers>
<!-- Default selected row color -->
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="LightBlue"/>
</Trigger>
<!-- Selected color for local files -->
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Property="IsSelected" Value="True"/>
<Condition Binding="{Binding FileSource}" Value="LocalFile"/>
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="LightGreen"/>
</MultiDataTrigger>
<!-- Selected color for remote files -->
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Property="IsSelected" Value="True"/>
<Condition Binding="{Binding FileSource}" Value="RemoteFile"/>
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="LightYellow"/>
</MultiDataTrigger>
</Style.Triggers>
</Style>
</Grid.Resources>The issue occurs when the row becomes selected. The control applies the default selection background, which overrides these custom styles.
Could you please advise on the recommended way to maintain custom row background colors for specific items even when they are selected in TreeListView?
Any guidance or best practice would be greatly appreciated.
Thank you.
In a RadLayoutControl I use LayoutControlTabGroup.
I can set the background of the Item's but not on the "empty" space, is there some way to do that.
<telerik:RadLayoutControl >
<telerik:LayoutControlTabGroup Background="White">
<telerik:LayoutControlTabGroupItem Header="Tab 1" Background="Red">
<Button Content="Item 1" />
</telerik:LayoutControlTabGroupItem>
<telerik:LayoutControlTabGroupItem Header="Tab 2" Background="Blue">
<Button Content="Item 2" />
</telerik:LayoutControlTabGroupItem>
</telerik:LayoutControlTabGroup>
</telerik:RadLayoutControl>
<telerik:RadDocking HasDocumentHost="True"> <telerik:RadDocking.DocumentHost> <telerik:RadSplitContainer> <telerik:RadPaneGroup> <telerik:RadDocumentPane Header="Document 1" Title="Document 1" /> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking.DocumentHost> </telerik:RadDocking>
Hi Team,
We are encountering an intermittent IndexOutOfRangeException when calling XamlFormatProvider.Export() on a RadDocument.
Exception stack:
Code:
Notes:
document is not null
Each document is different
Same code works for most documents
The exception occurs inside Telerik export logic
Documents are exported concurrently (parallel processing)
No custom type converters or custom styles added explicitly
Questions:
Is XamlFormatProvider.Export() thread-safe when used concurrently?
Can concurrent exports cause internal state corruption (e.g. type converter dictionary)?
Is there a recommended approach for exporting RadDocument in parallel (e.g. synchronization or per-thread isolation)?
Any guidance would be appreciated.
Thanks.
Zafeer
Hi ,
We have integrated RadRichTextBox into our WPF (C#) application and are trying to add RadCallout as a custom context menu. since the control is being created entirely in code-behind without XAML ,we are encountering implementation challenges.
Our expectation is that when a user selects text and right-clicks to choose the RadCallout option, the selected text should appear inside the callout type.Could you please guide us on how to achieve this?