Unplanned
Last Updated: 23 May 2022 13:20 by ADMIN
When DetailsView is set from the drop-down, the Date Modified column is not updated. For example, if the dialog is opened at a specific place and we modified a file (edit, replace) from an external place (source), Date Modified does not reflect the changed date.
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

In Development
Last Updated: 20 May 2022 12:17 by ADMIN

Use a custom font set like this: 

this.radSyntaxEditor1.SyntaxEditorElement.EditorFontFamily = new Telerik.WinControls.SyntaxEditor.UI.FontFamily("Cascadia Code");
this.radSyntaxEditor1.SyntaxEditorElement.EditorFontSize = 13;

Then load a large document, at least 10K lines so that the clipping is visible.

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: 19 May 2022 14:22 by ADMIN
Release R2 2022 SP1
Created by: Roy
Comments: 0
Category: WaitingBar
Type: Bug Report
2

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;
                }
            }
        }

 

Unplanned
Last Updated: 18 May 2022 07:03 by Timo

The default browser paragraph spacing is not preserved during HTML import-export. 

Workaround:

StyleDefinition normalStyle = this.radRichTextEditor1.Document.StyleRepository[RadDocumentDefaultStyles.NormalWebStyleName];
normalStyle.ParagraphProperties.SpacingAfter = 20;
normalStyle.ParagraphProperties.SpacingBefore = 20;

Unplanned
Last Updated: 18 May 2022 06:58 by Al

It can be scrolled at design time in .NET Framework, but not in .NET 6:

Unplanned
Last Updated: 18 May 2022 06:37 by Jane

Steps to reproduce:

1. Run the sample project and select a row inside the grid

2. Press Ctrl+B

The following error occur:

Workaround: set the EnableFastScrolling property to false.

Unplanned
Last Updated: 17 May 2022 11:17 by ADMIN

When exporting a RadFixedDocument, which contains a signature added with PdfProcessing a NotSupportedException is thrown: 'Stream does not support reading.'

Unplanned
Last Updated: 16 May 2022 10:16 by ADMIN

This is an odd one - see attached GIF.

If I attempt to select characters with the mouse (left-click + drag), at the beginning of any line of text, it won't highlight (90+% of the time).  That's if I'm dragging from left-to-right.

If I select the same text from right-to-left, it works every time.

 

Declined
Last Updated: 13 May 2022 12:57 by ADMIN
  • I'm using Visual Studio 2022 Community. Running as Admin.
  • I've installed the latest Winforms (Telerik_UI_For_WinForms_2022_1_222_Dev.msi)
  • I open Visual Studio and select to create a Word-like project.
  • The files are all created
  • One nuget reference is present under Dependencies/Packages, but shows as unresolved (UI.for.WinForms.AllControls.Net60 (2022.1.222.0))
  • Using the NuGet Package Manager, there is no Telerik package source present.

So, at this point this seems to be a possible bug. The template project did not setup correctly. I have literally done nothing other than download and install Telerik WinForms today and then try to create this project. This _should_ work or give me instructions of further setup that I have to do manually.

I did try a couple other things, but also failed to get things working.

  • I tried to setup the Telerik Package Source as https://nuget.telerik.com/v3/index.json
  • I was able to see various WinForms packages in the Package Manager, includes the one registered in the project. But VS won't update the project to resolve the package.
  • I uninstalled the nuget package to try reinstalling it, but the re-install failed with the following messages

Restoring packages for C:\DevGit\pws\pws.core\pws.core\pws.core.csproj...
  GET https://nuget.telerik.com/v3/package/ui.for.winforms.allcontrols.net60/index.json
  GET https://nuget.org/FindPackagesById()?id='UI.for.WinForms.AllControls.Net60'&semVerLevel=2.0.0
  OK https://nuget.telerik.com/v3/package/ui.for.winforms.allcontrols.net60/index.json 90ms
  GET https://nuget.telerik.com/v3/package/ui.for.winforms.allcontrols.net60/2022.1.222/ui.for.winforms.allcontrols.net60.2022.1.222.nupkg
  NotFound https://nuget.org/FindPackagesById()?id='UI.for.WinForms.AllControls.Net60'&semVerLevel=2.0.0 147ms
  GET https://nuget.org/FindPackagesById()?id='UI.for.WinForms.AllControls.Net60'&semVerLevel=2.0.0
  NotFound https://nuget.org/FindPackagesById()?id='UI.for.WinForms.AllControls.Net60'&semVerLevel=2.0.0 42ms
  GET https://nuget.org/FindPackagesById()?id='UI.for.WinForms.AllControls.Net60'&semVerLevel=2.0.0
  NotFound https://nuget.org/FindPackagesById()?id='UI.for.WinForms.AllControls.Net60'&semVerLevel=2.0.0 40ms
  OK https://nuget.telerik.com/v3/package/ui.for.winforms.allcontrols.net60/2022.1.222/ui.for.winforms.allcontrols.net60.2022.1.222.nupkg 235ms
  GET https://nuget.telerik.com/v3/package/system.management/index.json
  GET https://nuget.org/FindPackagesById()?id='System.Management'&semVerLevel=2.0.0

....

followed by many more "NotFound" messages.

 

 

 

 

Unplanned
Last Updated: 13 May 2022 11:33 by Danilo
Created by: Danilo
Comments: 0
Category: TreeView
Type: Bug Report
9

Use the following code: 

        public RadForm1()
        {
            InitializeComponent();

                        // This XML contains a simple tree with a root node having 3 children, the first of which is intended to be Bold
            var xml = "<TreeView xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" MultiSelect=\"true\" AllowDragDrop=\"true\" LabelEdit=\"true\" AllowDrop=\"true\">  <Nodes Text=\"New Package\" Expanded=\"true\" ImageKey=\"Package\" Font=\"Microsoft Sans Serif, 8.25pt, style=Bold\">    <Tag xsi:type=\"xsd:string\">&lt;Info&gt;&lt;FullName&gt;\\New Package&lt;/FullName&gt;&lt;ObjectType&gt;Package&lt;/ObjectType&gt;&lt;IsRunnable&gt;False&lt;/IsRunnable&gt;&lt;IsContainer&gt;true&lt;/IsContainer&gt;&lt;/Info&gt;</Tag>    <Nodes Text=\"Query Engine\" ImageKey=\"QueryEngine\" Expanded=\"true\" Font=\"Microsoft Sans Serif, 8.25pt, style=Bold\">      <Tag xsi:type=\"xsd:string\">&lt;Info&gt;&lt;FullName&gt;\\Query Engine&lt;/FullName&gt;&lt;ObjectType&gt;QueryEngine&lt;/ObjectType&gt;&lt;IsRunnable&gt;true&lt;/IsRunnable&gt;&lt;IsTableEntity&gt;true&lt;/IsTableEntity&gt;&lt;IsCut&gt;false&lt;/IsCut&gt;&lt;/Info&gt;</Tag>    </Nodes>    <Nodes Text=\"Connector\" ImageKey=\"Irion.SQLServer\">      <Tag xsi:type=\"xsd:string\">&lt;Info&gt;&lt;FullName&gt;\\Connector&lt;/FullName&gt;&lt;ObjectType&gt;DBConnection&lt;/ObjectType&gt;&lt;IsCut&gt;false&lt;/IsCut&gt;&lt;/Info&gt;</Tag>    </Nodes>    <Nodes Text=\"Connector Link\" ImageKey=\"DatabaseDatalink\">      <Tag xsi:type=\"xsd:string\">&lt;Info&gt;&lt;FullName&gt;\\Connector Link&lt;/FullName&gt;&lt;ObjectType&gt;DatabaseDatalink&lt;/ObjectType&gt;&lt;IsRunnable&gt;true&lt;/IsRunnable&gt;&lt;IsTableEntity&gt;true&lt;/IsTableEntity&gt;&lt;IsCut&gt;false&lt;/IsCut&gt;&lt;/Info&gt;</Tag>    </Nodes>  </Nodes></TreeView>";

            this.radTreeView1.LoadXML(new MemoryStream(System.Text.Encoding.UTF8.GetBytes(xml)));

            //make sure that the following 2 nodes are bold:
            this.radTreeView1.Nodes[0].Nodes[0].Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
            this.radTreeView1.Nodes[0].Nodes[2].Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Bold, GraphicsUnit.Point, 0);

            var tvx = this.radTreeView1.TreeViewXml;
        }

The XML returned by the tvx variable is different in 6.0 and 4.7.2. The Font for the node is serialized in 4.7.2:

But the font is missing in 6.0:

 

Unplanned
Last Updated: 13 May 2022 11:13 by Danilo

If the list separator for the culture is ";"

and you have nodes in RadTreeView that are bold, the following XML will be serialized:

var xml = "<TreeView xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" MultiSelect=\"true\" AllowDragDrop=\"true\" LabelEdit=\"true\" AllowDrop=\"true\">  <Nodes Text=\"New Package\" Expanded=\"true\" ImageKey=\"Package\" Font=\"Microsoft Sans Serif; 8,25pt; style=Bold\">    <Tag xsi:type=\"xsd:string\">&lt;Info&gt;&lt;FullName&gt;\\New Package&lt;/FullName&gt;&lt;ObjectType&gt;Package&lt;/ObjectType&gt;&lt;IsRunnable&gt;False&lt;/IsRunnable&gt;&lt;IsContainer&gt;true&lt;/IsContainer&gt;&lt;/Info&gt;</Tag>    <Nodes Text=\"Query Engine\" ImageKey=\"QueryEngine\" Expanded=\"true\" Font=\"Microsoft Sans Serif; 8,25pt; style=Bold\">      <Tag xsi:type=\"xsd:string\">&lt;Info&gt;&lt;FullName&gt;\\Query Engine&lt;/FullName&gt;&lt;ObjectType&gt;QueryEngine&lt;/ObjectType&gt;&lt;IsRunnable&gt;true&lt;/IsRunnable&gt;&lt;IsTableEntity&gt;true&lt;/IsTableEntity&gt;&lt;IsCut&gt;false&lt;/IsCut&gt;&lt;/Info&gt;</Tag>    </Nodes>    <Nodes Text=\"Connector\" ImageKey=\"Irion.SQLServer\">      <Tag xsi:type=\"xsd:string\">&lt;Info&gt;&lt;FullName&gt;\\Connector&lt;/FullName&gt;&lt;ObjectType&gt;DBConnection&lt;/ObjectType&gt;&lt;IsCut&gt;false&lt;/IsCut&gt;&lt;/Info&gt;</Tag>    </Nodes>    <Nodes Text=\"Connector Link\" ImageKey=\"DatabaseDatalink\">      <Tag xsi:type=\"xsd:string\">&lt;Info&gt;&lt;FullName&gt;\\Connector Link&lt;/FullName&gt;&lt;ObjectType&gt;DatabaseDatalink&lt;/ObjectType&gt;&lt;IsRunnable&gt;true&lt;/IsRunnable&gt;&lt;IsTableEntity&gt;true&lt;/IsTableEntity&gt;&lt;IsCut&gt;false&lt;/IsCut&gt;&lt;/Info&gt;</Tag>    </Nodes>  </Nodes></TreeView>";

However, if you try to load this layout on another machine where the list separator is "," the nodes wouldn't be bold:

Expected:

Actual:

Note: the problematic part is how the font is stored actually: "Microsoft Sans Serif; 8.25pt; style=Bold"

Workaround: if you change to this, it will be parsed properly: "Microsoft Sans Serif, 8.25pt, style=Bold"
In Development
Last Updated: 13 May 2022 06:35 by ADMIN
Created by: Humberto
Comments: 0
Category: TreeView
Type: Bug Report
1
When the RadTreeView.EnableRadAccessibilityObjects property is set to true and the Narrator is turned on, it doesn't read the expanded/collapsed state of the selected node. It would be good to have this functionality. 
Unplanned
Last Updated: 06 May 2022 05:01 by Tejas
One is not able to set the font size of span to less than 2
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);
        }
    }
}

Unplanned
Last Updated: 04 May 2022 07:02 by n/a
1 2 3 4 5 6