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
Unplanned
Last Updated: 12 Oct 2021 07:33 by ADMIN
1. Create a new Form that inherits from RadForm and add some rad controls.
2. Checkin the file in your source control system
3. Open the form in design time will cause checkout
Completed
Last Updated: 11 Oct 2021 07:21 by ADMIN
Release R1 2017
Steps to reproduce:
- add RadForm to the project 
- drop a RadRibbonBar to the project 
- when asked to use RadRibbonFormBehavior, confirm with Yes 
- check the form size (height) and close it 
- reopen it and the size is changed
- repeating the last two steps continues to increase the form height

Workaround:  change the parent of the form having the ribbon form behavior
 public partial class RadForm1 : CustomRadForm
    {
        public RadForm1()
        {
            InitializeComponent();
        }
    }

public class CustomRadForm : Telerik.WinControls.UI.RadForm
{
    public new FormControlBehavior FormBehavior
    {
        get
        {
            return (FormControlBehavior)typeof(RadFormControlBase)
                    .GetField("formBehavior", BindingFlags.Instance | BindingFlags.NonPublic)
                    .GetValue(this);
        }
        set
        {
            this.ResetFormBehavior(false);
            if (value != null)
            {
                Size clientSize = this.ClientSize;
                typeof(RadFormControlBase)
                    .GetField("formBehavior", BindingFlags.Instance | BindingFlags.NonPublic)
                    .SetValue(this, value);

                typeof(RadFormControlBase)
                    .GetMethod("PrepareBehavior", BindingFlags.Instance | BindingFlags.NonPublic)
                    .Invoke(this, new object[] { });

                this.RecreateHandle();

                this.ClientSize = clientSize;
            }
        }
    }
}

Completed
Last Updated: 22 Apr 2021 14:51 by ADMIN
Release R2 2021
To reproduce:
- Create a RadForm with a public label in it. 
- Inherit the new form and change the label text.
- Open the second form at design time - the file status is changed to modified.
Completed
Last Updated: 21 Apr 2021 12:12 by ADMIN
Release Q1 2012 SP1
ADMIN
Created by: Stefan
Comments: 2
Category: Form
Type: Bug Report
2
With the following property settings RadForm does not maximize in order to overlap the taskbar:
TopMost - true
WindowState = Maximized
FormBorderStyle = None
Completed
Last Updated: 15 Feb 2021 10:48 by ADMIN
Release R1 2021 SP2

To reproduce:

1. Use the 2020.3.1020 Telerik version 

2. Show RadForm and set MinimumSize property

3. Double Click the Title Bar to maximize the form or click the Maximize button

4. Double Click the Title Bar again and see that no border is shown.

Thanks

Completed
Last Updated: 19 Oct 2020 13:35 by ADMIN
Release R3 2020 SP1
ADMIN
Created by: Dimitar
Comments: 0
Category: Form
Type: Bug Report
0
To reproduce:
- Hide the border and change the BackColor of the form. 
- Dock a MenuStrip to the top. 
- You will notice that there are 2 pixels on the left and right sides of the menu. 

Project is attached as well.
Completed
Last Updated: 03 Jun 2020 16:31 by ADMIN
Release R2 2020 SP1 (LIB 2020_2_603)

 

Using the spellchecker, and the popup when using themes overlaps as per image below. If i make : 


        e.SpellingForm.Controls("buttonIgnoreAll").Visible = False
The next one below does the same. How do i modify this ? 

 

 

 

Regards

Gavin

Unplanned
Last Updated: 21 May 2020 07:48 by ADMIN

Hi,

I am working on making our Winforms UI projects DPI aware to clean up fuzzy text in Windows 10.

I'm having an odd issue with some layouts. In one example, we have a simple form dialog that will grow with a label inside (similar to a windows message box). THe label is autosizing itself and has a minimum and maximum size set. This dialog is working fine without the DPI awareness, however, after enabling, the RadForm resizes to some strange size. I tried to investigate and it seems that the label is resizing to some large size and not respecting it's maximums (though this doesn't show when rendering as I've switched off the borders).

The label is resizing the form via anchors. I think probably there is a better way at layout here, but I'm wondering if the wild resizing may be considered a bug.

See images below.

I've also attached a project that reproduces this issue.

 

 

Unplanned
Last Updated: 02 Apr 2020 09:18 by ADMIN
Created by: Stoyan
Comments: 1
Category: Form
Type: Bug Report
1

Dear support,

i have a RadForm and custom theme.

To reproduce the problem:

1. Configure 2. montior to have 200% Scale (Monitor2).

2. Start the solution on your main Monitor1 (with 100% Scale)

3. Click on button "radbutton1".

4. Move the shown RadForm1 from Monitor1 to Monitor2 and release it. The form will scale automatically.

5. Now move the RadForm1 back to the main Monitor1

Now you can see the effect from Form.png.

What is causing it and how to remove it?

The problem has some connection with the Anchor options from radButton1 and radButton2.

If i set them to "Top, Left", then the effect does not appear, but this way i have to set their location manually, or is there other option?

 

Regards,

Stoyan

 

Unplanned
Last Updated: 24 Mar 2020 15:05 by ADMIN
The issue is that our system will not be fully maximized when using it on Windows 7, while on our PCs here (windows 10), it's fine.
Completed
Last Updated: 23 Jan 2020 11:59 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)
Created by: Shreesh
Comments: 4
Category: Form
Type: Bug Report
0

When a set of RadForms is used inside an MDI Form and are maximized, after some time, the child forms flicker continuously.

See the attached video.

The same behaviour DOES NOT happen when regular Windows Form is used.

 

Completed
Last Updated: 21 Jan 2020 12:39 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)
A NullReferenceException occurs when closin Visual Studio keeping the form opened for editing. If I close the form's designer, before closing the Visual Studio, this not happen.
Completed
Last Updated: 15 Oct 2019 10:26 by ADMIN
Release R3 2019 SP1

The issue exists in Fluent, Material, and Crystal themes.

To reproduce:

Create an MDI application and maximize the child form. 

The child form buttons are not styled. 

Completed
Last Updated: 03 Oct 2019 11:40 by ADMIN
Release R3 2019 SP1 (LIB 2019.3.1007)
Created by: Kashif
Comments: 2
Category: Form
Type: Bug Report
1

Dear Admins.

I'm developing an application which have Parent (MDI) and some child forms.

Using Telerik UI for WinForms R2 2019 SP1.

Code for Opening the Form.

01.private void MnuItemSuppliers_Click(object sender, EventArgs e)
02.{
03.    if (!IsFormOpen(typeof(frmSupplierList)))
04.    {
05.        CloseChildForm();
06.        frmSupplierList m_frmListSupplier = new frmSupplierList
07.        {
08.            Width = this.Width,
09.            Height = this.Height,
10.            MdiParent = this,
11.            MaximizeBox = false,
12.            MinimizeBox = false,
13.            ControlBox = false,
14.            WindowState = FormWindowState.Maximized
15.        };
16.        m_frmListSupplier.Show();
17.    }
18.}

 

But Still i can see the ControlBox and Minimize and Maximize Buttons on the Top right Corner. 

Image Attached.

When i Use the Same Coding and Properties using Standard Windows Forms. It behave like as required.

Please help what is wrong with this.