In Development
Last Updated: 14 Mar 2024 11:22 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: Form
Type: Bug Report
0
Please refer to the attached screenshot and sample project.

Workaround: call the RadForm.EndInit method before showing the form.
In Development
Last Updated: 14 Mar 2024 10:07 by ADMIN
Workaround: set the RadRibbonFormBehavior1.AllowTheming property of the form to false

public class RadForm1
{
	public RadForm1()
	{
		InitializeComponent();

		this.RadRibbonFormBehavior1.AllowTheming = false;

	}
}
Completed
Last Updated: 13 Mar 2024 08:49 by ADMIN
Release 2024.1.312

In this particular case, we have custom RadButtonElements placed in the title bar of the form. We have subscribed to the click event on each button. In the click event handlers, we are showing file dialogs. When clicking one time to show a dialog and the mouse leaves the title bar bounds, this triggers the click event twice, thus opening another dialog.

As a workaround, we could use the MouseDown event instead or raise a flag in the click event handler.

Unplanned
Last Updated: 12 Mar 2024 14:27 by bernox
Opening and closing the designer force the RadForm to change its width/height with .NET 8
Unplanned
Last Updated: 29 Feb 2024 10:07 by ADMIN
Unplanned
Last Updated: 16 Feb 2024 09:24 by ADMIN
Good morning,

when I open a mdi child form from another child form and change WindowState from Minimize to Normal the form is not shown with correct size.
Unplanned
Last Updated: 09 Aug 2023 10:41 by ADMIN
The controls inside the form are not scaled correctly when the Form is shown on a monitor with DPI higher than 150%. An important step here is that the main monitor where the form is shown has a higher DPI. Moving the form from a monitor with 100% to a monitor with a higher DPI will not reproduce this behavior.
Completed
Last Updated: 13 Apr 2023 08:25 by ADMIN
Release R2 2023 (LIB 2023.1.413)

To reproduce, use the following code and minimize the child form:

    public partial class RadForm1 : Telerik.WinControls.UI.RadForm
    {
        public RadForm1()
        {
            InitializeComponent();
            this.IsMdiContainer = true;
 
            RadForm form = new RadForm();
            form.Text = "MDI Child";
            form.MdiParent = this;
            form.MinimumSize = new Size(800,600);
            form.Show(); 
        }
    }

Completed
Last Updated: 27 Mar 2023 07:35 by ADMIN
Release Release R1 2023 SP1
In this particular case, we have RadGridView inside RadDock control. The RadGridView is grouped. The ScrollViewer inside the group is trying to load while maximizing the Form. At some point, the ScrollViewer collapsed which leads to re-arranging the items inside the panel and the application hangs.
Completed
Last Updated: 27 Mar 2023 06:39 by ADMIN
Release R1 2023 SP1

To reproduce:

1. Create a new .NET 7 project and add a RadForm to it with a single control (e.g. RadButton).

2. Open the designer and have a look at the form's Size.

3. Move the button and save the changes

4. Close the designer and open it again.

Expected result: the RadForm's Size is unchanged

Actual result: the RadForm gets smaller, its height is reduced.

Unplanned
Last Updated: 24 Mar 2023 14:12 by ADMIN
Changing the font size runtime, will not trigger the control to re-measure correctly.
Unplanned
Last Updated: 16 Feb 2023 11:08 by ADMIN
Create a new project with an anchored control in all corners. You can simply do the test, insert a scheduler or gridview, snap on all corners, set WindowsState to maximized and start the program with a DPI of even 125%, and see the problem right away. Tested with new projects both in Net Framework and .Net. I also tried creating a new instance of Winforms and setting the Windowstate from there by code, but the problem remains.
Unplanned
Last Updated: 08 Feb 2023 15:39 by ADMIN
In Net 7 projects, resizing RadForm will serialize the AutoScaleBaseSize property which is deprecated with the latest versions. 
Completed
Last Updated: 23 Sep 2022 13:07 by ADMIN
Release R3 2022

Follow the steps which are illustrated in the gif file:

1. Create new .NetFrameWork Telerik WinForm project

2. Set the MinSize of the RadForm1 to 300, 300

3. Set the MaxDize of the RadForm1 to 600, 600

4. Save the Form

5. Close the form

6. Build the project

7. Add new Telerik form, inherit from RadFrom1 via the Add New Item form and picking Inherited Form (Windows Forms).  When prompted, pick RadForm1.

8. Resize the new form

9. Save and Close the form.

10. Open RadForm1

11. Reset the Max Size

12. Save and Close RadForm1

13. Rebuild the project

14. Open the inherited form

Workaround: instead of adding an Inherited Form, add a Telerik RadForm. Then, change it to inherit from RadForm1:

Completed
Last Updated: 23 Sep 2022 13:07 by ADMIN
Release R3 2022

Please run the sample project on 100% and 150% DPI scaling. You will notice that with 100% the shown form is centered to its parent, but with 150% it is shifted:

Unplanned
Last Updated: 15 Jul 2022 11:54 by Toby
I have an issue such that when I place my application (which is based on a RadRibbonForm) on to my right hand 4K monitor and then maximise it I get a small amount of "bleed" of my application on to the right hand side of my left monitor.

On inspecting the forms desktop bounds property it see X = 1908, Y = -12, width = 3864, height = 2114. I was expecting X = 1920, Y = 0, width = 3840, height = 2090 which is what is being reported in Screen.AllScreens.

I'm using the latest version of WinForms and have done what is suggested in this link.

I can reproduce the same behaviour when I run "Demo Application - Telerik UI for WinForms R2 2022 SP1", move it to my large right hand monitor then maximise it.

Kind regards
Toby
Unplanned
Last Updated: 21 Jun 2022 05:43 by Jean-Pierre

VS 2022, Telerik 2022.2.510, NET 6.0 (sample app is attached)

1. Creating sample Telerik WinForms App.
2. Add a RadTextBox
3. Load Event with code
radTextBox1.Text = this.Size.ToString();

4. Run the App
5. Close the App
6. Move the RadTextBox Control at design time.
In design, the height of the form is 2 pixels taller.
Run these steps in a loop. After a few hours of work, the form exceeds the size of the screen.

Completed
Last Updated: 04 May 2022 07:29 by ADMIN
Release R2 2022

To reproduce:

  1. Set your monitor DPI to 200%(or any order value different from 100%). You need to Log off(or restart) in order to apply correctly the new DPI settings.
  2. Create a UserControl with some RadControls inside.
  3. Add the UserControl at design time as a child control to a RadForm.
  4. Run the RadForm and you will see that the controls inside the user control are scaled twice.

Workaround:

In the OnLoad method of RadForm do through all nested RadControls inside the UserControl and downscale them to the same DPI as the RadForm.

public class RadForm1 : RadForm
{
    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);

        SizeF dpiScaleFactor = RootElement.DpiScaleFactor;
        FixDpiScaling(this.Controls, dpiScaleFactor);
    }

    private void FixDpiScaling(Control.ControlCollection controls, SizeF dpiScaleFactor)
    {
        foreach (Control item in controls)
        {
            RadControl radControl = item as RadControl;
            if (radControl != null)
            {
                SizeF dpi2 = radControl.RootElement.DpiScaleFactor;
                if (dpiScaleFactor.Width != dpi2.Width)
                {
                    SizeF fixDpiCoefficient = new SizeF(dpiScaleFactor.Width / dpi2.Width, dpiScaleFactor.Height / dpi2.Height);
                    radControl.Scale(fixDpiCoefficient);
                }
            }

            FixDpiScaling(item.Controls, dpiScaleFactor);
        }
    }
}

Completed
Last Updated: 04 May 2022 06:42 by ADMIN
Release R2 2022

Updating from Version 2022.1.118 to 2022.1.222 breaks high dpi layout for existing dialogs at 150% DPI scaling:

Expected:

Actual:

Workaround: Use the MS Form

 

Completed
Last Updated: 09 Nov 2021 09:01 by ADMIN
Release R3 2021 SP1
1 2 3 4 5 6