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.

 

 

 

 

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.
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;
    }
}
Declined
Last Updated: 25 Mar 2022 11:39 by Ian
Created by: Ian
Comments: 6
Category: GridView
Type: Feature Request
0

Eery time I use the GridView, I have to remember to un-select the last item in the list.

This is almost always to wrong thing to be selected - so why select it by default?

..and the way to swith this 'feaure' off isn't obvious - I always have to look it up....RadGridView1.CurrentRow = Nothing

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”。

Declined
Last Updated: 16 Feb 2022 05:23 by ADMIN
Created by: alex
Comments: 3
Category: GridView
Type: Feature Request
0

Hi. it was great to see the option "ImageOnly", for columns of small width, where only the image is placed in the header, and the "HederText" property was set, for the correct display of the grouping field

GridViewDataColumn column;

column.HeaderText = "Счет";

column.HeaderImage = ...; // some img

column.TextImageRelation = TextImageRelation.Overlay;



GridViewDataColumn column;

column.HeaderText = "";

column.HeaderImage = ...; // some img

column.TextImageRelation = TextImageRelation.Overlay;

it’s impossible to choose one thing, either an ugly header, or a grouping without a description

Declined
Last Updated: 26 Jan 2022 10:57 by ADMIN
How to reproduce: check the attached project:

Workaround: when the form is opened in the designer make sure that all pages are made visible at least ones so the controls are initialized, before attempting to access collection editors via properties window

Declined
Last Updated: 04 Jan 2022 16:23 by ADMIN

This behavior occurs when there is no Telerik package installed in the project but the toolbox loads the controls using the version available in C:\Program Files (x86)\Progress\ToolboxNuGetPackages.

Then drag a gauge form the toolbox and drop it into the form:

Declined
Last Updated: 04 Jan 2022 16:02 by ADMIN

To reproduce:

 

        public RadForm1()
        {
            InitializeComponent();

            string txt = "what follows is test characters (some of) which should cause error:  เปลี่ยน UPS ที่ห้อง Truck scale เนื่องจากเมื่อวันพฤหัสที่ 13 มีการออฟเบรกเกอร์ที่ ฺฺB/H แต่ว่า เครื่องคอมพิวเตอร์ที่ T/S ดับ ตัว UPS ไม่ทำงาน ทำให้ข้อมูลขณะนั้นหายไป   ";
            this.label1.Text = txt; // No error

            Font font = this.label1.Font;// new Font("Segoe UI", 9.5f, FontStyle.Regular);
            this.radLabel1.Font = font;
            this.radLabel1.Text = txt; //GDI error
        }

Workaround: 

this.radLabel1.UseCompatibleTextRendering = false;

Declined
Last Updated: 20 Nov 2021 06:26 by ebrahim
Created by: ebrahim
Comments: 2
Category: UI for WinForms
Type: Bug Report
0

Hi, when I select a date in the calendar and want to display it in a box, it also displays the base date each time I select a date.

First select the correct date but by selecting the same date show RangMinDate

my code is

private void radCalendar1_SelectionChanged(object sender, EventArgs e)
        {



            label1.Text = radCalendar1.SelectedDate.ToString();

        }

 

 

                        
Declined
Last Updated: 19 Nov 2021 09:52 by ADMIN
Created by: dev
Comments: 4
Category: GridView
Type: Bug Report
1

Hi,

I have a question regarding RadGridView. When I edit a cell in GridView and then click on a button (outside of gridview) immediately (i.e I don't click on another cell to exit edit mode), the Gridview is still edit mode. Please refer to the short video named "Without Using EndEdit()" to easily understand my point here.

In order to exit the edit mode, I try the following code:

    Private Sub CustomGridView_LostFocus(sender As Object, e As EventArgs) Handles Me.LostFocus
        Me.EndEdit()
    End Sub

With this code, the gridview does exit the edit mode when I click on another button. But there is a problem with this method is that afterwards, I cannot edit the cell anymore.  Please refer to the short video named "Using EndEdit()" to better understand the problem.

So my question here is, is there any way that I can exit edit mode when clicking on another button right after editing a cell?

Thank you for your help.

Best regards,

Tran

 

 
Declined
Last Updated: 06 Oct 2021 08:23 by ADMIN
To reproduce: please open the attached sample project and follow the steps illustrated in the attached gif file.

Workaround: 
1. You still can scroll while dragging a row by using the mouse wheel.

2. Use the grid in unbound mode and set the AllowRowReorder property to true instead of using a custom RadDragDropService.

3. Use a custom drag and drop service:

public class CustomDragDropService : RadGridViewDragDropService
{
    public CustomDragDropService(RadGridViewElement gridViewElement) : base(gridViewElement)
    {
    }

    public override string Name
    {
        get
        {
            return typeof(RadGridViewDragDropService).Name;
        }
    }

    protected override void HandleMouseMove(System.Drawing.Point mousePosition)
    {
        base.HandleMouseMove(mousePosition);
        System.Drawing.Point location = this.GridViewElement.ElementTree.Control.PointToClient(Control.MousePosition);
        GridTableElement tableElement = this.GetTableElementAtPoint(location);

        ISupportDrag supportDrag = this.Context as ISupportDrag;
        object dataContext = supportDrag.GetDataContext();

        if (this.AllowAutoScrollRowsWhileDragging && dataContext == null)
        {
            ScrollRows(tableElement, location);
        }
    }

    private void ScrollRows(GridTableElement tableElement, System.Drawing.Point location)
    {
        ScrollableRowsContainerElement scrollableRows = tableElement.ViewElement.ScrollableRows;
        RadScrollBarElement vScrollbar = GetVeritcalScrollbar(tableElement);
        System.Drawing.Rectangle containerBounds = scrollableRows.ControlBoundingRectangle;

        if (containerBounds.Contains(location) ||
            location.X < containerBounds.X ||
            location.X > containerBounds.Right)
        {
            return;
        }

        int delta = 0;

        if (location.Y > containerBounds.Bottom)
        {
            delta = location.Y - containerBounds.Bottom;
        }
        else if (location.Y < containerBounds.Y)
        {
            delta = location.Y - containerBounds.Y;
        }

        if (delta != 0 && vScrollbar.Visibility == ElementVisibility.Visible)
        {
            vScrollbar.Value = ClampValue(vScrollbar.Value + delta,
                vScrollbar.Minimum,
                vScrollbar.Maximum - vScrollbar.LargeChange + 1);
        }
    }

    private int ClampValue(int value, int minimum, int maximum)
    {
        if (value < minimum)
        {
            return minimum;
        }
        if (maximum > 0 && value > maximum)
        {
            return maximum;
        }
        return value;
    }

    private RadScrollBarElement GetVeritcalScrollbar(GridTableElement tableElement)
    {
        if (GridViewElement.UseScrollbarsInHierarchy)
        {
            return tableElement.VScrollBar;
        }
        return GridViewElement.TableElement.VScrollBar;
    }
}

public RadForm1()
{
    InitializeComponent();
    CustomDragDropService customService = new CustomDragDropService(radGridView1.GridViewElement);
    radGridView1.GridViewElement.RegisterService(customService);
}
Declined
Last Updated: 22 Sep 2021 14:54 by ADMIN
Created by: Brian
Comments: 3
Category: Installer and VS Extensions
Type: Feature Request
1
Stop Expanding ALL the Telerik Toolbox control groups when Visual Studio 2017 loads a project! YES, we know your there! We PUT you there.. If we need you, we know where you are! Please quit over-convoluting the toolbox menu by obnoxiously expanding all your toolbox control groups!
Declined
Last Updated: 15 Sep 2021 09:53 by KKL

When I have an InlineImage in a horizontally centered paragraph, PrintPreview presents the image unevenly on the page. There should be the same space on left and right, as the page padding is the same all around. See the arrows indicated below:


Declined
Last Updated: 09 Sep 2021 08:58 by ADMIN
Created by: Haim
Comments: 2
Category: UI for WinForms
Type: Feature Request
2
   
Declined
Last Updated: 01 Sep 2021 07:21 by ADMIN

I have installed the suite of controls for winforms, but I can't get them to appear in the toolbox. When I use Extension / Telerik / Telerik UI for Winforms / Launch Toolbar configurator it shows me the control options and is supposed to add them to the Toolbox, but they don't appear. If I select the Show All option then all the Telerik control categories appear, but none are enabled. So I did it manually and it remains the same.

This image shows the toolbox after using the Telerik extension Launch toolbox configurator

As you can see, no tab appears with the Telerik controls.

And if I tell it to show me all the tabs, the Telerik controls do appear, but they are not enabled, as can be seen in the following image:

 

Thanks,

 

Juan Carlos

Declined
Last Updated: 27 Aug 2021 09:40 by ADMIN

Please run the attached sample project and follow the steps in the attached gif file. You will notice that the nodes are displayed multiple times.

Workaround: it seems that if the BeginUpdate/EndUpdate methods are not used in the PerformNodeMove methods, the issue is not reproducible

Declined
Last Updated: 19 Aug 2021 09:01 by ADMIN
Created by: David
Comments: 4
Category: MultiColumnCombo
Type: Feature Request
1

Any chance for an updated MCCB with EL like the new Textboxes?

Thanks,

_D

Declined
Last Updated: 14 Jun 2021 09:13 by ADMIN
  1. Using a RadGriditem
  2. Set AllowSearchRow to false as default
  3. Add a RadButton or something else to toggle AllowSearchRow
  4. Toggling works as long the "x" in the search mask is not used

When the "x" is used it seems that AllowSearchRow is not set to false because the toggle button has then to be pressed twice to show up the search mask again.

Declined
Last Updated: 06 Apr 2021 13:19 by ADMIN
Created by: Trustteam
Comments: 1
Category: GridView
Type: Bug Report
0

Hi,

I want to extend the RadGridView control, so I do "public class TkGrid : Telerik.WinControls.UI.RadGridView {}"

How do I apply a theme to TkGrid control ? I set "ThemeResolutionService.ApplicationThemeName = "FluentDark" but this doesn't work.

 

I attached a small project where I have one TkGrid and one RadGridView. On top of form there is a dropdown from where you can change the theme

When I do this, TkGrid is not displayed with the new theme (this works for RadGridView)

 

p.s. I also added a custom Button, TkButton inherited from RadButton. When I change the theme, the look of TkButton is changed, so this is ok

 

1 2 3 4 5 6