Completed
Last Updated: 31 Jan 2019 11:17 by ADMIN
Nicholas
Created on: 11 Jan 2019 09:21
Category: UI for WinForms
Type: Bug Report
0
FIX. RadLayoutControl - the collapsed item container visibility is not synchronized properly

Use attached to reproduce:

- click on the second tab

- collapse the first group

- click the first tab

- click the second tab, both grids are visible

Workaround:

public RadForm1()
{
    InitializeComponent();
    new Telerik.WinControls.RadControlSpy.RadControlSpyForm().Show();

    layoutControlGroupItem3.PropertyChanged += LayoutControlGroupItem3_PropertyChanged;

}

private void LayoutControlGroupItem3_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
    if (e.PropertyName == "IsHidden" || e.PropertyName == "IsExpanded")
    {
        if (layoutControlGroupItem3.IsExpanded)
        {
            layoutControlGroupItem3.ContainerElement.Items[0].Visibility = Telerik.WinControls.ElementVisibility.Visible;
        }
        else
        {
            layoutControlGroupItem3.ContainerElement.Items[0].Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
        }
    }

}

Attached Files:
1 comment
ADMIN
Dimitar
Posted on: 31 Jan 2019 11:17
Hello,

A fix will be available in Telerik UI for WinForms version R1 2019 SP1.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.