Unplanned
Last Updated: 13 May 2021 06:56 by ADMIN
Heidi
Created on: 29 Apr 2021 10:34
Category: Spreadsheet
Type: Bug Report
1
RadSpreadsheet: Cell Values disappearing when RadWindow is dragged to a second Monitor.

Cell Values disappearing when RadWindow is dragged to a second Monitor.

Workaround:

private void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
    this.viewModel.OpenSampleCommand.Execute(null);
    radDocking1.ToolWindowCreated += RadDocking1_ToolWindowCreated;
}

private void RadDocking1_ToolWindowCreated(object sender, Telerik.Windows.Controls.Docking.ElementCreatedEventArgs e)
{
    var window = e.CreatedElement as ToolWindow;
    if (window != null)
    {
        window.WindowStateChanged += Window_WindowStateChanged;

    }
}

private void Window_WindowStateChanged(object sender, EventArgs e)
{
    var window = sender as ToolWindow;

    var spreadsheet = window.ChildrenOfType<RadSpreadsheet>().FirstOrDefault();
    if (spreadsheet != null)
    {
        spreadsheet.InvalidateVisual();
    }
}

 

2 comments
ADMIN
Martin
Posted on: 13 May 2021 06:56

Hello Heidi,

Thank you for the additional feedback.

We will keep this in mind when the development begins.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Heidi
Posted on: 10 May 2021 08:15

I found that data is also disappearing on a single monitor configuration.  It happens when the view is repositioned also.