Currently, the DataFormatString property of the columns is applied only to the top-level rows and not to the child ones.
To work this around, create a new DataTemplate for the CellTemplate property of the column and set the StringFormat property of the Binding instance for the element that will be used to display the cell's value in view mode.
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MyPropertyValue, StringFormat=N2}"/>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
In the case where some of the columns are hidden and all of the columns' display indexes are changed, applying grouping could result in some of the cells from the columns that have custom CellTemplate to not receive it.
To work this around, you could manually change the widths of the columns by iterating the Columns collection as shown below:
foreach (var column in this.GridView.Columns)
{
GridViewLength length = column.Width;
if (length.IsAbsolute)
{
column.Width = new GridViewLength(length.Value + 0.00001);
}
}
If a RadDocking has its theme set to Windows 11 via the StyleManager.Theme attached property, placing a RadGridView inside (styled with a different theme, such as Office_Black, Summer, etc.) will cause its cells to look merged after performing an edit operation.
As a workaround, the RowHeight and the FontSize properties of the RadGridView instance can be used to resolve this.
Hi, I have a problem with using SyntaxEditor.
There are two errors when using Korean.
1. When I enter Korean, the caret is shown to the left of the position to be entered. (See line 19 in the Attached File 1)
To add a description of the attached file1, it was a situation in which "가나다라마바사아자차카타파하" was entered in the order, and "하" is the last letter entered, but it can be showed that "하" is located in the middle between "사" and "자". (See line 19 and I check this character with green border in the Attached File 2)
2. When Korean is present in the line, the length of the selection area represents shorter than the input width of the input characters when selected. (See line 3, 19, 20, 21, 27, 28 in the Attached File 3)
I found that the same defect occurred in Windows11 and Windows10.
I hope it will be resolved as soon as possible.
The build performance with new license validation (2025) is very poor. 2025 version takes about 5 sec. extra time to build. For small projects it takes 10x longer.
Test environment:
Build times depending on the Version of Telerik Nuget:
<PackageReference Include="Telerik.Windows.Controls.Navigation.for.Wpf" Version="2025.1.211" />
11:25:47:071 Build started at 11:25...
11:25:47:189 1>------ Build started: Project: TelerikBuildTest, Configuration: Debug Any CPU ------
11:25:51:748 1>[Telerik and Kendo UI Licensing]
11:25:51:748 1> Telerik and Kendo UI License Key found at: C:\Users\...\AppData\Roaming\Telerik\telerik-license.txt (UserDirectory)
11:25:51:748 1> License issued at 2025-03-16 to e**********@....
11:25:51:748 1>[Telerik and Kendo UI Licensing]
11:25:51:748 1> Valid Telerik UI for WPF license found.
11:25:52:743 1>[Telerik and Kendo UI Licensing]
11:25:52:743 1> Telerik and Kendo UI License Key found at: C:\Users\...\AppData\Roaming\Telerik\telerik-license.txt (UserDirectory)
11:25:52:743 1> License issued at 2025-03-16 to e**********@...
11:25:52:743 1>[Telerik and Kendo UI Licensing]
11:25:52:743 1> Valid Telerik UI for WPF license found.
11:25:52:815 1>TelerikBuildTest -> C:\Users\....\source\repos\TelerikBuildTest\TelerikBuildTest\bin\Debug\net8.0-windows\TelerikBuildTest.dll
11:25:52:828 ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
11:25:52:828 ========== Build completed at 11:25 and took 05,892 seconds ==========
<PackageReference Include="Telerik.Windows.Controls.Navigation.for.Wpf" Version="2024.4.1213" />
11:26:33:405 Build started at 11:26...
11:26:33:581 1>------ Build started: Project: TelerikBuildTest, Configuration: Debug Any CPU ------
11:26:33:953 1>TelerikBuildTest -> C:\Users\...\source\repos\TelerikBuildTest\TelerikBuildTest\bin\Debug\net8.0-windows\TelerikBuildTest.dll
11:26:33:960 ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
11:26:33:960 ========== Build completed at 11:26 and took 00,633 seconds ==========
This causes some problems if the hyperlink is edited and the document is exported and imported again.
Workaround:
private void RadRichTextBox1_DocumentChanged(object sender, EventArgs e)
{
var document = radRichTextEditor1.Document;
var fields = document.EnumerateChildrenOfType<FieldRangeStart>();
foreach (FieldRangeStart item in fields)
{
radRichTextEditor1.DeleteAnnotationRange(item);
}
}
The TableCellProperty.Padding property of the "TableNormal" StyleDefinition doesn't take effect in the UI. The same is valid for the TableProperties.CellPadding property.
To work this around, you can manually set the Padding property of all TableCell elements in the RadDocument.
var cells = radDocument.EnumerateChildrenOfType<Telerik.Windows.Documents.Model.TableCell>();
foreach (var cell in cells)
{
cell.Padding = new Padding(10);
}
A compilation error occurs in a class library project which doesn't use any Telerik code, but it is referenced in another project which installs the Telerik.Licensing NuGet package. The error reproduces only if the class library project contains .xaml files.
The error message from the class library project is the following:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets(268,9): error MC1000: Unknown build error, 'Cannot resolve dependency to assembly 'Telerik.Licensing.Runtime, Version=1.4.6.0, Culture=neutral, PublicKeyToken=keyhere' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.'
To workaround this, you can add assembly references to the Telerik dlls in the main project (including Telerik.Licensing.Runtime), instead of using NuGet packages.
Alternatively, you can install the Telerik.Licensing NuGet package also in the class library.
<ItemGroup>
<PackageReference Include="Telerik.Licensing" Version="1.4.*" />
</ItemGroup>
Note that with this approach you will see a message in the output that no license is installed, even if you have one. However, for now (versions from 1.4.6 to 1.4.12, which is the latest at the moment of writting this post), the error won't apply any compile or runtime restrictions on the UI or the functionality.