Pending Review
Last Updated: 23 Oct 2025 14:31 by Heiko

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