Unplanned
Last Updated: 29 Mar 2019 13:39 by ADMIN
How to reproduce: check the attached video
Workaround: select a color from a different tab or use the color picker
Unplanned
Last Updated: 09 Mar 2020 06:14 by ADMIN

The performance of the DayView when the control is bound to a large number of recurring appointments and it is grouped by resources needs to be improved.

Unplanned
Last Updated: 12 Nov 2019 14:58 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: UI for WinForms
Type: Bug Report
3
To reproduce: add a RadLabel and change its cursor to Hand.

 this.radLabel1.Cursor = Cursors.Hand;

The PixelatedHandCursor.png shows the poor quality of the cursor which should be improved.

Workaround: https://stackoverflow.com/questions/6016995/un-antialiased-hand-cursor-in-windows-forms-apps/6017174#6017174

    public class LinkLabelEx : RadLabel
    {
        private const int WM_SETCURSOR = 0x0020;
        private const int IDC_HAND = 32649;

        [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern IntPtr LoadCursor(IntPtr hInstance, int lpCursorName);

        [DllImport("user32.dll", CharSet = CharSet.Auto)]
        private static extern IntPtr SetCursor(IntPtr hCursor);

        protected override void WndProc(ref Message m)
        {
            if (m.Msg == WM_SETCURSOR)
            {
                // Set the cursor to use the system hand cursor
                SetCursor(LoadCursor(IntPtr.Zero, IDC_HAND));

                // Indicate that the message has been handled
                m.Result = IntPtr.Zero;
                return;
            }

            base.WndProc(ref m);
        }
    }

The ImprovedCursorRendering.png  shows the improved cursor. 
Unplanned
Last Updated: 17 Apr 2024 14:36 by ADMIN
ADMIN
Created by: Hristo
Comments: 0
Category: UI for WinForms
Type: Bug Report
3
Workaround: manually increase the font of the controls

protected override void OnShown(EventArgs e)
{
    base.OnShown(e);

    var dpi = NativeMethods.GetSystemDpi();

    this.Font = new Font(this.Font.Name, this.Font.Size * dpi.X / 96, this.Font.Style);
    this.radMenu1.Font = new Font(this.radMenu1.Font.Name, this.radMenu1.Font.Size * dpi.X / 96, this.radMenu1.Font.Style);
    this.radCommandBar1.Font = new Font(this.radCommandBar1.Font.Name, this.radCommandBar1.Font.Size * dpi.X / 96, this.radCommandBar1.Font.Style);
}
Unplanned
Last Updated: 19 Jul 2022 06:59 by dev

Use the attached sample project.

Sceen 1 (Screen with program shortcuts) on the right in the gif: this screen has display scale 125%

Screen 2 (Screen with the Form) on the left in the gif: this screen has display scale 100%

When all three toolwindows are placed in the forms, there is no issue. The Dropdown list of ToolWindow1 (floating, dockable..) when opened is placed correctly.

If I moved the ToolWindow3 from Screen2 to Screen1 and make it the most recent active window (by clicking on it), I go back to the Screen2 and open the dropdown list of Toolwindow1, this list's position is now wrong and the text size bigger. This is because it takes the display scale (125%) of  the screen where the most recent active toolwindow (ToolWindow3 ) is.

If I popup the ToolWindow2, place it in Screen2 (the same screen with ToolWindow1), make ToolWindow2 the most recent active window, and open the dropdown list of Toolwindow1, this list's position is now correct and the text size normal. This is because it takes the display scale (100%)  of  the screen where the most recent active toolwindow (ToolWindow2 ) is.

Workaround: add app.manifest file and declare the application as DPI aware: 


https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/dpi-support#how-to-enable-hdpi-support-in-your-application   
Unplanned
Last Updated: 08 Jun 2022 10:05 by Clayton
Created by: Clayton
Comments: 0
Category: UI for WinForms
Type: Bug Report
2
RadRichTextEditor: Memory leak on importing plain text
Unplanned
Last Updated: 28 Apr 2020 11:18 by ADMIN

1. Set the DPI of your main monitor to 150% and the DPI of your secondary monitor to 100%.

2. Start your main form containing RadDataEntry on your secondary monitor.

You will see that that hosted controls inside RadDataEntry are not scaled correctly.

 

Workaround:

Start your main form on your secondary monitor inside OnShown event.

protected override void OnShown(EventArgs e)
{
    base.OnShown(e);

    this.Location = new Point(-800, 100);
}

 

Unplanned
Last Updated: 23 Apr 2020 15:34 by ADMIN
Created by: Tinus
Comments: 0
Category: UI for WinForms
Type: Bug Report
2

1. Set HDPI on your monitor (for example 150%)

2. Set RadDataEntry data source in RunTime

You will see that RadDataEntry hosted controls are not scaled correctly.

Note that there is a related problem if the data source is set in design time. Controls themselves will be scaled correctly, however, text box hosted control's High will not be scaled correctly.

Workaround:
You can subscribe to ItemInitializing event before you set the DataSource and proceed by scaling RadDataEntry hosted controls manually as shown in the following code snipped.

private void radButton1_Click(object sender, EventArgs e)
{
    this.radDataEntry1.ItemInitializing += RadDataEntry1_ItemInitializing;
    this.radDataEntry1.ItemDefaultSize = new Size(200, 26);

    radDataEntry1.DataSource = new Employee
    {
        FirstName = "Sarah",
        LastName = "Blake",
        Occupation = "Supplied Manager",
        StartingDate = new DateTime(2005, 04, 12),
        IsMarried = true,
        Salary = 3500,
        Gender = Gender.Female
    };         
}
private void RadDataEntry1_ItemInitializing(object sender, ItemInitializingEventArgs e)
{
    if (this.radDataEntry1.RootElement.DpiScaleFactor.Width != 1)
    {
        foreach (Control control in e.Panel.Controls)
        {
            control.Scale(this.radDataEntry1.RootElement.DpiScaleFactor);
        }
    }
}

Unplanned
Last Updated: 01 May 2019 10:30 by ADMIN
Created by: Canon Fazenbaker
Comments: 0
Category: UI for WinForms
Type: Bug Report
2
Open the attached file and search for "test". In addition the Find dialog disappears for some time after the result is shown.
Unplanned
Last Updated: 01 Apr 2024 09:00 by ADMIN

In this case, we have an MS standard Form with control position on the form. Each of the controls has the right anchor. Moving the form to a monitor with a higher resolution messed up the size of the controls. 

Unplanned
Last Updated: 21 May 2024 10:33 by ADMIN
The location of controls is messed up when RadForm is shown runtime on HDPI (125%).
Unplanned
Last Updated: 20 Nov 2017 16:18 by ADMIN
How to reproduce: enabled High DPI scaling and create a form as an MDI child with a RadDataEntry control in it
Workaround:  handle the Shown event of the MDI child and manually perform the scaling
private void radButtonElement1_Click(object sender, EventArgs e)
        {
            var view = new RadForm1
            {
                MdiParent = this
            };
            
            view.Shown += View_Shown;
            view.Show();
        }

        private void ScaleRadControls(Control c)
        {
            foreach (var item in c.Controls)
            {
                Control control = item as Control;
                if (control == null)
                {
                    continue;
                }

                this.mi.Invoke(control, new object[] { this.FormElement.DpiScaleFactor, BoundsSpecified.All });
                ScaleRadControls(control);
            }
        }

        MethodInfo mi;
        private void View_Shown(object sender, EventArgs e)
        {
            this.mi = typeof(Control).GetMethod("ScaleControl", BindingFlags.Instance | BindingFlags.NonPublic, null, new Type[] { typeof(SizeF), typeof(BoundsSpecified) }, null);
            RadForm1 v = sender as RadForm1;
            if (v != null)
            {
                ScaleRadControls(v.radDataEntry1.PanelContainer);
            }
        }
Unplanned
Last Updated: 20 Dec 2018 06:54 by ADMIN
The whole cell is not filled when setting the background.
Unplanned
Last Updated: 24 Apr 2024 08:22 by ADMIN
Exceptions

Top Level Exception
Type:        System.OverflowException
Message:     Arithmetic operation resulted in an overflow.
Source:      TelerikCommon
Stack Trace: at Telerik.WinControls.NativeMethods.GetMonitorDpi(Screen screen, DpiType dpiType)
   at Telerik.WinControls.VisualElement.GetScaledFont(Single scale, Font fontToScale)
   at Telerik.WinControls.UI.LightVisualElement.CreateTextParams()
Unplanned
Last Updated: 30 Jan 2019 11:24 by ADMIN
Check the attached video 

or:

1. Insert some text

2. Change its span properties (e.g. set the font weight to Bold)

3. Position the caret right after the last letter of this text and type several letters

Observed: The span properties are applied to the new text as well

Expected: The new text shouldn't have those properties
Unplanned
Last Updated: 11 Feb 2019 08:00 by ADMIN

To reproduce:

Copy an image and paste is several times inside the document.

Unplanned
Last Updated: 17 Nov 2017 11:40 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 1
Category: UI for WinForms
Type: Bug Report
1
To reproduce: please refer to the attached sample project and gif file.

Workaround: use screentips: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/tooltips-and-screentips/screen-tips
Unplanned
Last Updated: 17 Apr 2019 09:38 by ADMIN
Caret jumps several symbols to the right when arabic or persian is used and user deletes the dot symbol. As a result the wrong symbol is deleted.
Unplanned
Last Updated: 22 Feb 2019 12:25 by ADMIN
Use attached to reproduce. 
Unplanned
Last Updated: 20 Mar 2019 12:27 by ADMIN

LineSeries lineSeries = new LineSeries();
lineSeries.DataPoints.Add(new CategoricalDataPoint(6, DateTime.Now));
lineSeries.DataPoints.Add(new CategoricalDataPoint(4, DateTime.Now.AddDays(1)));
lineSeries.DataPoints.Add(new CategoricalDataPoint(7, DateTime.Now.AddDays(2)));
lineSeries.DataPoints.Add(new CategoricalDataPoint(5, DateTime.Now.AddDays(3)));
lineSeries.DataPoints.Add(new CategoricalDataPoint(3, DateTime.Now.AddDays(4)));
lineSeries.DataPoints.Add(new CategoricalDataPoint(8, DateTime.Now.AddDays(5)));
lineSeries.DataPoints.Add(new CategoricalDataPoint(7, DateTime.Now.AddDays(6)));
lineSeries.DataPoints.Add(new CategoricalDataPoint(10, DateTime.Now.AddDays(7)));
lineSeries.DataPoints.Add(new CategoricalDataPoint(4, DateTime.Now.AddDays(8)));
lineSeries.DataPoints.Add(new CategoricalDataPoint(5, DateTime.Now.AddDays(9)));
lineSeries.DataPoints.Add(new CategoricalDataPoint(2, DateTime.Now.AddDays(10)));

DateTimeContinuousAxis continuousAxis = new DateTimeContinuousAxis();
continuousAxis.PlotMode = AxisPlotMode.OnTicks;
continuousAxis.LabelFormat = "{0:d}";
continuousAxis.ScaleBreakStyle = ScaleBreakStyle.Ragged;
lineSeries.HorizontalAxis = continuousAxis;
this.radChartView1.Series.Add(lineSeries);

DateTimeContinuousAxis horizontalAxis = radChartView1.Axes.Get<DateTimeContinuousAxis>(0);

AxisScaleBreak scaleBreakItem = new AxisScaleBreak();
scaleBreakItem.Name = "Item1";
scaleBreakItem.From = DateTime.Now.AddDays(3);
scaleBreakItem.To = DateTime.Now.AddDays(6);


1 2 3 4