Declined
Last Updated: 19 Jul 2022 10:52 by ADMIN

Report steps:

  1. Make a datatable with a string-column with a max. length of 10 characters.
  2. Will the datatable with some data.
  3. Bind it to a RadGridView
  4. In Excel (or another applicatie) create a now table with some strings, this time longer that 10 characters.
  5. Paste this data from Excel to the RadGridView

Expected behavior:

  1. The strings that are to long will either cause an exception or they are truncated.

Observed behavior:

  1. The string with the value that is to long is skipped during pasting.

Extra detail:

In the method MasterGridViewTemplate.PasteDataToRow the next piece is code is located:

if (CurrentView.ViewTemplate.Columns[columnIndex].DataType == typeof(string))
{
    if (column is GridViewTextBoxColumn viewTextBoxColumn && viewTextBoxColumn.MaxLength > 0 && rowData[rowIndex].Length > viewTextBoxColumn.MaxLength)
        obj = rowData[rowIndex].Substring(0, viewTextBoxColumn.MaxLength);
}
The property viewTextBoxColumn.MaxLength returns 32767 (and not 10) which is clearly a related and possibly a separate bug.
Duplicated
Last Updated: 18 Jul 2022 11:48 by ADMIN
Created by: Martin
Comments: 3
Category: UI for WinForms
Type: Bug Report
1

Reproduction steps:

  • Create a new RadPropertyGrid
  • Add an instance of a class with at least one property of type Nullable<int>.
  • The property does not have an DefaultValueAttribute.
  • Make sure that property has the value null.
  • In de UI, the field appears to be empty.
  • In de UI, click on the field to edit it.

Observed behavior:

  • An edit-box appears with the value zero (0).
  • Leaving this field (without entering any digits) sets the property with that 0, which is undesirable.

Expected behavior:

  • An empty edit-box appears, without any digits.
  • Leaving this field (without entering any digits) should keep the property null.
Declined
Last Updated: 12 Jul 2022 13:26 by Martin

When I create a new form-class, which derives from RadFrom, and I override the method OnLoad, then OnLoad is called during construction. This should never happen!

As Microsoft states: "The OnLoad method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class."

See: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form.onload?view=windowsdesktop-6.0 

The OnLoad method can be used to load controls with data. But these controls are not even initialized, because the method InitializeComponent has not been called yet.

 

Declined
Last Updated: 05 Jul 2022 09:44 by ADMIN
Created by: IT
Comments: 1
Category: UI for WinForms
Type: Bug Report
0

Hi,

An HTTP Request returns me an error in HTML format. Please see img001. This image was capture in debug mode in Visual Studio.

When I want to show a MessageBox or a Label with this HTML, appears like in img002.

Thank you!

The HTML text is:

 

<!doctype html><html lang="en"><head><title>HTTP Status 401 – Unauthorized</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 401 – Unauthorized</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Unauthorized</p><p><b>Description</b> The request has not been applied because it lacks valid authentication credentials for the target resource.</p><hr class="line" /><h3>Apache Tomcat/8.5.65</h3></body></html>


 

Completed
Last Updated: 28 Jul 2022 07:58 by ADMIN
Release R3 (LIB 2022.2.711)

Please run the attached sample project, open the drop down and press the down arrow key.

Observed: application hangs

Expected: since all menu items in the drop down are disabled, nothing is expected to happen. However, the application shouldn't hangs.

Workaround:

public class CustomRadDropDownButtonElement : RadDropDownButtonElement
{
    protected override Type ThemeEffectiveType
    {
        get
        {
            return typeof(RadDropDownButtonElement);
        }
    }
    protected override RadDropDownButtonPopup CreateDropDown()
    {
        return new CustomDropDown(this);
    }
}

public class CustomDropDown : RadDropDownButtonPopup
{
    public CustomDropDown(RadElement ownerElement) : base(ownerElement)
    {
    }

    protected override void EnsureItemEnabled(RadItem item, bool isUp)
    {
        do
        {
            item = this.GetNextItem(item, !isUp);
            if (item == this.Items.Last())
            {
                break;
            }

        } while (!item.Enabled);
        if (item != null)
        {

            this.SelectItem(item);
        }
    }
}

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: 16 Feb 2024 19:39 by ADMIN
Created by: erwin
Comments: 3
Category: UI for WinForms
Type: Feature Request
1
It would be nice if the grid column chooser would support grouping of columns similar to the jquery grid
Completed
Last Updated: 27 May 2022 12:28 by ADMIN
Release R2 2022 SP1

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.

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.

 

 

 

 

Completed
Last Updated: 23 Sep 2022 13:07 by ADMIN
Release R3 2022
Created by: Dinko
Comments: 0
Category: UI for WinForms
Type: Feature Request
0
You could achieve a similar behavior using a custom form. More information can be found in the Add SplashScreen to your application KB article in our documentation.
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:

Unplanned
Last Updated: 19 Apr 2022 06:32 by ADMIN
Implement editor functionalities like add, edit or delete content 
Declined
Last Updated: 12 Apr 2022 12:49 by ADMIN
Created by: George
Comments: 1
Category: UI for WinForms
Type: Feature Request
1
Add the ability to add a richTextBox cell type to the RadGridView and have the ability to link it to a data source and to a RichTextEditorRibbonBar.
Completed
Last Updated: 13 Apr 2022 11:58 by ADMIN
Release R2 2022
There is a name property in the Property builder properties but it a read only field so the Template names can not be changed. You have to remember what Template 1 is vs Template 2 when referring to them in later use.
Completed
Last Updated: 13 Apr 2022 06:32 by ADMIN
Release R2 2022

How to reproduce:

Add a webcam control to the form and set its ControlPanelHeight property. Close the designer and try to open it. Visual Studio crashes and closes.

 

Declined
Last Updated: 06 Apr 2022 11:51 by ADMIN
Created by: Paul
Comments: 2
Category: UI for WinForms
Type: Bug Report
0

The following code to make the headers bold in a RadGridView.  After upgrading to different 2022 versions from 2021, this code causes a Parameter is not valid error in ((System.ComponentModel.ISupportInitialize)(this.RadGridView1.MasterTemplate)).EndInit();

If I comment out the code and run then there is no error generated.

void radGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e)

{
    if (e.CellElement is GridHeaderCellElement)
    {
        e.CellElement.Font = myCustomFont;
    }
}
Completed
Last Updated: 28 Mar 2022 16:18 by ADMIN
Release R2 2022 (LIB 2022.1.329)

When saving the layout of RadDock with SaveToXml, the scaled value of SplitterWidth is saved in high DPI. 

The non-scaled value should be saved.

Duplicated
Last Updated: 16 Mar 2022 17:19 by ADMIN
Created by: 智超
Comments: 1
Category: UI for WinForms
Type: Bug Report
0
radRichTextEditor

System.Reflection.TargetInvocationException:“调用的目标已抛出异常。”

XamlParseException: “类型“Telerik.WinForms.Documents.Model.RadDocument”不包含内容。指定要设置的属性的名称,或者在该类型上添加 ContentPropertyAttribute 或 TypeConverterAttribute。”,行号为“5”,行位置为“4”。

Declined
Last Updated: 16 Mar 2022 17:19 by ADMIN
Created by: 智超
Comments: 3
Category: UI for WinForms
Type: Feature Request
1

System.Reflection.TargetInvocationException:“Exception has been thrown by the target of an invocation.”

XamlParseException: “类型“Telerik.WinForms.Documents.Model.RadDocument”不具有内容属性。指定要设置的属性的名称,或者在该类型上添加 ContentPropertyAttribute 或 TypeConverterAttribute。”,行号为“5”,行位置为“4”。

Completed
Last Updated: 13 Apr 2022 06:32 by ADMIN
Release R2 2022

While working with the Ribbon in a RadRibbonForm, I inadvertently removed a ribbon tab. I started recreating the ribbon tab I removed (and all of the child objects). When I got to creating and naming a ribbon button, it notified me that a control with that name already existed. It appeared that child objects, of the ribbon tab I removed, had not been removed from the form.

I tried to select the existing control from the pull-down on the top of the properties window (to find a way to remove it) and Visual Studio 2022 crashed to desktop. I hadn't saved the form I was working on, so it's mostly messed up in the project (the UI is missing), and I will have to delete what is there and start over.