Completed
Last Updated: 25 May 2022 08:48 by ADMIN
Release R2 2022 SP1
Created by: Roy
Comments: 2
Category: WaitingBar
Type: Bug Report
3

Use the attached sample project and click the button:

   at Telerik.WinControls.TelerikPaintHelper.GenerateSnapShotWithBitBlt(Control control)
   at Telerik.WinControls.UI.RadWaitingBar.AddBackgroundImageToAssociatedControlCoverPanel()
   at Telerik.WinControls.UI.RadWaitingBar.ShowCover()
   at Telerik.WinControls.UI.RadWaitingBar.StartWaiting()
   at TelerikWinFormsApp1.RadForm1.radButton1_Click(Object sender, EventArgs e) in C:\Projects\1564934_telerikwinformsapp1\TelerikWinFormsApp1\RadForm1.cs:line 31

Workaround: 

        public class CustomWaitingBar : RadWaitingBar
        {
            protected override void AddBackgroundImageToAssociatedControlCoverPanel()
            {
                Size associatedControlSize = this.AssociatedControl.Size;
                if (associatedControlSize.Width <= 0 || associatedControlSize.Height <= 0)
                {
                    return;
                }

                Bitmap controlImage = new Bitmap(associatedControlSize.Width, associatedControlSize.Height);
                this.AssociatedControl.DrawToBitmap(controlImage, new Rectangle(Point.Empty, associatedControlSize));
                SolidBrush semiTransBrush = new SolidBrush(this.AssociatedControlCoverPanel.BackColor); // Color.FromArgb(128, 255, 255, 255) Default color
                Graphics g = Graphics.FromImage(controlImage);
                g.FillRectangle(semiTransBrush, new Rectangle(Point.Empty, controlImage.Size));
                this.AssociatedControlCoverPanel.BackgroundImage = controlImage;
            }

            public override string ThemeClassName
            {
                get
                {
                    return typeof(RadWaitingBar).FullName;
                }
            }
        }

 

Completed
Last Updated: 20 May 2022 13:59 by ADMIN
Release R2 2022 SP1
Implement functionality to rotate the content of a cell.
Completed
Last Updated: 20 May 2022 13:35 by ADMIN
Release R2 2022 SP1

Run the attached project and click List then Export.

Expected:

Actual:

Workaround:

    Private Sub RadButton2_Click(sender As Object, e As EventArgs) Handles RadButton2.Click
        Dim spreadExporter As GridViewSpreadExport = New GridViewSpreadExport(gvAssetSchedule)
        AddHandler spreadExporter.CellFormatting, AddressOf spreadExporter_CellFormatting
        Dim exportRenderer As New SpreadExportRenderer()
        spreadExporter.ExportVisualSettings = True
        Dim filename = "..\..\export" & DateTime.Now.ToLongTimeString().Replace(":", "_") & ".xlsx"
        spreadExporter.RunExport(filename, exportRenderer)
        Process.Start(filename)
    End Sub

    Private Sub spreadExporter_CellFormatting(sender As Object, e As Telerik.WinControls.Export.CellFormattingEventArgs)
        If e.GridCellInfo Is Nothing Then
            Dim selection As CellSelection = e.CellSelection
            Dim range As CellRange = selection.CellRanges(0)
            Dim val = selection.Worksheet.Cells(range.FromIndex.RowIndex, range.FromIndex.ColumnIndex).GetValue()
            Dim format As New CellValueFormat("@")
            selection.Worksheet.Cells(range.FromIndex.RowIndex, range.FromIndex.ColumnIndex).SetFormat(format)
            Dim dt As New DateTime(1900, 1, 1)
            Dim parsedDays = 0
            If Integer.TryParse(val.Value.RawValue, parsedDays) Then
                dt = dt.AddDays(parsedDays)
                selection.Worksheet.Cells(range.FromIndex.RowIndex, range.FromIndex.ColumnIndex).SetValue(dt.Year & "-" & MonthName(dt.Month))
            End If
        End If
    End Sub

Completed
Last Updated: 19 May 2022 14:24 by ADMIN
Release R2 2022 SP1
Created by: Stoyan
Comments: 0
Category: UI for WinForms
Type: Bug Report
1

The solution in this KB article is used: https://docs.telerik.com/devtools/winforms/knowledge-base/clickonce-application-is-broken 

Follow the steps:

1. Set your main monitor to be with higher than 100% DPI scaling (e.g. 175%, 200%)

2. Set the secondary monitor with 100% DPI scaling.

3. Run the exe from the project on the secondary monitor with 100% DPI scaling. You will notice that all controls that host the standard MS TextBox are incorrectly scaled:

 

Completed
Last Updated: 19 May 2022 14:24 by ADMIN
Release R2 2022 SP1

This scenario is reproducible when the MCCB dropdown has 1 item. To disable the selection of the row we can set the EditorControl.CurrentRow to null. However, when the dropdown is open the Text property is set to the first row.

Completed
Last Updated: 19 May 2022 14:24 by ADMIN
Release R2 2022 SP1

Setting the SyntaxEditorElement.HorizontalScrollBar.Visibility property to Collapsed indeed hides the horizontal scrollbar but it is still measured and arranged and overlaps the view if you shrink the view:

Completed
Last Updated: 19 May 2022 14:24 by ADMIN
Release R2 2022 SP1
When saving and loading the RadDock layout from XML, the position of the tab is not preserved correctly.
Completed
Last Updated: 10 May 2022 05:39 by ADMIN
Release R2 2022
Created by: Todor
Comments: 0
Category: UI Framework
Type: Feature Request
5
At the moment, RadCalculatorDropDown allows displaying a calculator only in a popup editor. The new control should allow placing a calculator on a form or a user control.
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: 29 Apr 2022 13:39 by ADMIN
Release R2 2022

Dear Sir/Madam

Unfortunately, the SplitContainer in the .NET version 5 has problems, as you can see in the picture, I can not change the size in design time.

Is there a newer version that fixes this problem?

Telerik Winform Version :2020.3.1020

Visual Studio Version : 16.8.3

Best Regards

 

 

Completed
Last Updated: 29 Apr 2022 13:19 by ADMIN
Release R2 2022

It is possible to add one control, but when when you try to add other controls to the layout, just sits where you place it rather than split in to sections. 

Expected:

Actual:

 

Completed
Last Updated: 29 Apr 2022 13:05 by ADMIN
Release R2 2022
Created by: John
Comments: 1
Category: UI for WinForms
Type: Feature Request
1
Currently it is not possible to select the items added to RadCommandBar, RadRibbonBar or RadMenu.
Completed
Last Updated: 29 Apr 2022 12:45 by ADMIN
Release R2 2022
Completed
Last Updated: 26 Apr 2022 13:22 by ADMIN
Release R2 2022
This exception occurs in Net 6. When we have applied LocalFileCacheProvider and there is one file in the cache folder, starting the app will throw the ArgumentOutOfRangeException. A possible solution here is to check if there is one file inside the folder and remove it if there is such.
Completed
Last Updated: 26 Apr 2022 08:39 by ADMIN
Release R2 2022

Please refer to the below gif file. You will notice that the drop row line is shown only when dropping in the same grip but not when dropping on another grid:

Workaround: use the project in the following forum post: https://www.telerik.com/forums/preview-drop---drag-drop-between-gridview#5477699 

Completed
Last Updated: 20 Apr 2022 09:23 by ADMIN
Release R2 2022
Created by: Travis
Comments: 1
Category: PictureBox
Type: Feature Request
0

Currently, RadPictureBox supports the gif format, but the animated gifs are not animated like the standard MS PictureBox.

Workaround: use a RadLabel to show the animated gif:

this.radLabel1.LabelElement.Image = Properties.Resources.giphy;

 

Completed
Last Updated: 20 Apr 2022 07:59 by ADMIN
Release R2 2022

Use this code and click the save icon: 

        public RadForm1()
        {
            InitializeComponent();
            this.radImageEditor1.ImageSaved+=radImageEditor1_ImageSaved;

            this.radImageEditor1.OpenImage(@"..\..\London_01.jpg");
        }

        private void radImageEditor1_ImageSaved(object sender, EventArgs e)
        {
            RadMessageBox.Show("Saved!");
        }

You will notice that the ImageSaved event is not fired.

Completed
Last Updated: 14 Apr 2022 08:26 by ADMIN
Release R2 2022

Steps to reproduce:

1.Run the attached sample project.

2.Group by the ProductID column

3.Select Page 4

4. Expand the top group row. You will notice that the grid jumps to a previous row.

Expected:

Actual:

Workaround:

 

        public class CustomGrid : RadGridView
        {
            public override string ThemeClassName
            {
                get
                {
                    return typeof(RadGridView).FullName;
                }
            }
            protected override void OnMouseDown(MouseEventArgs e)
            {
                GridExpanderItem expander = this.ElementTree.GetElementAtPoint(e.Location) as GridExpanderItem;
                if (expander != null)
                {
                    flag = true;
                }
                base.OnMouseDown(e);
            }

            protected override void OnMouseUp(MouseEventArgs e)
            {
                base.OnMouseUp(e);
                flag = false;
            }

            bool flag = false;

            protected override void OnPageChanging(object sender, PageChangingEventArgs e)
            {
                if (flag)
                {
                    e.Cancel = true;
                }
                base.OnPageChanging(sender, e);

            }
        }

 

Completed
Last Updated: 14 Apr 2022 08:23 by ADMIN
Release R2 2022

When the AssociatedControl property is set to form. It makes a screenshot and places it as a background. However, when Form is set, the image will be placed under the Form title bar and duplicates the title bar. The following image demonstrates this.

As a workaround, you can place a panel as the first child of the form and construct your layout. After you can set this panel to the AssociatedControl property.

1 2 3 4 5 6