Completed
Last Updated: 06 Feb 2019 11:32 by ADMIN
Gianluca Mariani
Created on: 25 Jan 2019 15:19
Category: UI for WinForms
Type: Bug Report
1
Groupbox remain in render

Hello,

I have a very simple form that has this code:

 

public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
    public RadForm1()
    {
        InitializeComponent();
 
        ThemeResolutionService.ApplicationThemeName = "Fluent";
    }
 
    private void radButton1_Click(object sender, EventArgs e)
    {
        SetStartForm(false);
    }
 
    private void SetStartForm(bool visible)
    {
        this.radGroupBox1.Visible = visible;
    }
 
    private void radButton2_Click(object sender, EventArgs e)
    {
        SetStartForm(true);
    }
}

 

At the start it call the SetStartForm() method that with a lot of other things hide the groupbox.

Well after a search when a user click again the button "Nuova Ricerca" I call again SetStartForm() but the components rendering remain with the border. Please see the video:

//video has been deleted due to sensitive data.

How can I solve that? Thanks

6 comments
Dimitar
Posted on: 06 Feb 2019 11:32
Hello,

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

Regards,
Dimitar
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 28 Jan 2019 09:14
Hello, Gianluca,

I have updated your code snippet as well. Should you have further concerns please let me know.

Regards,
Dess | Tech Support Engineer, Sr.
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.
Gianluca Mariani
Posted on: 28 Jan 2019 09:00

Hello Dess,

is other thing but if I write here it remains public for everyone. The better thing is that you make a very simple code with that issue

ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 28 Jan 2019 08:49
Hi, Gianluca,

Since it is very important for us to avoid sharing sensitive information in the public portal, the video link has been deleted. There is a gif file in my initial reply which simulates an identical scenario.

If you need any other modification, please let me know.

Regards,
Dess | Tech Support Engineer, Sr.
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.
Gianluca Mariani
Posted on: 28 Jan 2019 08:36

Hello Dess,

thanks for the Telerik points and for put this issue inside your Feedback portal. Thanks also for the workaround you suggested to me. Anyway please change the text of my ticket and the url of my own space to something that do not address to my personal project because now it's public for everyone.

 

Thanks

ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 28 Jan 2019 07:35
Hello, Gianluca,      

The provided sample video and code snippet are greatly appreciated. I was able to simplify the scenario and replicated the issue on my end. I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link -  https://feedback.telerik.com/winforms/1384809-groupbox-remain-in-render

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to invalidate the form after hiding the RadGroupBox

this.FormElement.InvalidateMeasure(true);

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
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.