Hello,
when I create a ContentDialog (or Popup) containing a RadDataGrid, row/cell selection doesn't work. It seems like all pointer events are ignored on the cells panel. Here is the sample code:
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Telerik.UI.Xaml.Controls.Grid;
namespace GridTest
{
/// <summary>
/// An empty window that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
ContentDialog contentDialog = new ContentDialog()
{
Content = new RadDataGrid()
{
ItemsSource = new DummyData[] { new DummyData("Item 1") }
}
};
contentDialog.XamlRoot = this.Content.XamlRoot;
contentDialog.ShowAsync();
}
}
public record DummyData(string Text);
}
Could you please fix this as soon as possible or provide me a workaround for this bug
Greetings
Heiko
Since Q2 2025, user defined Dark/Light/HighContrastResourcesPaths do not work - the custom resources are anot applied to the controls.
/// <summary>
/// Resource loader that provides the resource dictionaries with the brushes for the Telerik controls.
/// See https://docs.telerik.com/devtools/universal-windows-platform/common/teleriknamedbrushes.
/// </summary>
public sealed class TelerikResourceLoader : CustomXamlResourceLoader
{
/// <inheritdoc/>
protected override object GetResource(string resourceId, string objectType, string propertyName, string propertyType)
{
object result;
if (resourceId == "DarkResourcesPath")
{
result = new Uri("ms-appx:///{ProjectName}/Assets/Themes/Dark_Telerik.xaml");
}
else if (
resourceId == "LightResourcesPath" ||
resourceId == "HighContrastResourcesPath")
{
result = new Uri("ms-appx:///{ProjectName}/Assets/Themes/Light_Telerik.xaml");
}
else
{
result = null;
}
return result;
}
}
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Light">
<SolidColorBrush x:Key="TelerikGrid_BackgroundPointerOver" Color="Red" Opacity="0.25"/>
</ResourceDictionary>
<ResourceDictionary x:Key="Dark">
<SolidColorBrush x:Key="TelerikGrid_BackgroundPointerOver" Color="Green" Opacity="0.25"/>
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
Edit - indeed the Light/Dark/ResourcePaths are deleted from the generic files of telerk controls due to the following regression in WinUI App SDK 1.7.25:
https://github.com/microsoft/microsoft-ui-xaml/issues/10506
Hello,
I have Telerik.WinUI.Controls v4.0.0 installed with Telerik.Licensing v1.6.5 with the extension installed and the license text file in the root folder of my project. However, I receive this message the first time a RadDataGrid is loaded on the UI on a secondary window. After closing and re-opening the window, the message doesn't show. When packaging for release, this doesn't seem to be an issue. The message is also stating the wrong version.
when the datagrid group the column ,the group header indent,but the general row don't indent .
look the following file.
"Processing Resources failed" compile-time error is thrown when the following nuget packages are referenced together:
- Telerik.ReportViewer.WinUI
- Telerik.WinUI.Controls
It is enough only to reference the packages and try to build the project.
The error appears also if you try to reference the .dll instead of nuget packages. But only in case the Telerik.WinUI.Controls.dll file is not referenced from the installation folder of the Telerik Reporting product.
Error details:
1>WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry. 1>WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI222: 0x80073b0f - Unspecified error occurred.
VS WPF PdfViewer,When the WinUI PdfViewer show the document, the text is fuzzy.
View the attachments,in the picture,the wpf PdfViewer show the text better.
I have bought a licence and am trying to update my project to use the licenced nuget packages instead of the trial ones. The problem is that I am only able to see the trial packages in the nuget package explorer.
I have run the installer and added https://nuget.telerik.com/v3/index.json as the nuget source. I know that at some point when I first added a package I filled in my credentials, because of reasons the licenced version is tied to another account, if this could have anything to do with it.