Completed
Last Updated: 10 Mar 2025 14:41 by ADMIN
Release 2025.1.310 (Preview)
This behavior is observed when referencing 2025.1.211 version of Telerik UI for WinForms controls.
Completed
Last Updated: 27 Feb 2025 10:38 by ADMIN
Release 2024.3.806 (2024 Q3)
Created by: Ana
Comments: 2
Category: GridView
Type: Feature Request
1
Currently, the GridViewCheckBoxColumn is not synchronized with the selection mechanism of the control. Checking a checkbox will change the value of the bound property. Synchronizing the selection with the checkbox will require custom code. We could expose GridViewSelectionColumn or modify the GridViewCheckBoxColumn to support this.
Completed
Last Updated: 12 Feb 2025 12:42 by ADMIN
Release 2025.1.211 (2025 Q1)
Created by: Alessandro
Comments: 0
Category: GridView
Type: Feature Request
2

With releasing .NET 6, there are TimeOnly and DateOnly types which would be more appropriate for managing such values:

https://devblogs.microsoft.com/dotnet/date-time-and-time-zone-enhancements-in-net-6/

It would be good to add support for these types in GridViewDateTimeView.

Currently, the following code gives an exception when entering edit mode: 

        public RadForm1()
        {
            InitializeComponent();
            DataTable dt = new DataTable();
            dt.Columns.Add("DateOnly", typeof(DateOnly));
            dt.Rows.Add(new DateOnly(2022,3,3));

            this.radGridView1.AutoGenerateColumns = false;
            GridViewDateTimeColumn dateColumn = new GridViewDateTimeColumn();
            dateColumn.FieldName = "DateOnly";
            this.radGridView1.Columns.Add(dateColumn);
            this.radGridView1.DataSource = dt;
            this.radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
        }

 

 

Workaround: you can use the following custom TypeConverter

        public RadForm1()
        {
            InitializeComponent();
            DataTable dt = new DataTable();
            dt.Columns.Add("DateOnly", typeof(DateOnly));
            dt.Rows.Add(new DateOnly(2022,3,3));

            this.radGridView1.AutoGenerateColumns = false;
            GridViewDateTimeColumn dateColumn = new GridViewDateTimeColumn();
            dateColumn.DataType = typeof(DateTime);
            dateColumn.FieldName = "DateOnly";
            dateColumn.Format = DateTimePickerFormat.Custom;
            dateColumn.CustomFormat = "dd/MM/yyyy";
            dateColumn.FormatString = "{0:dd/MM/yyyy}";
            dateColumn.DataTypeConverter = new DateOnlyConverter();
            this.radGridView1.Columns.Add(dateColumn);
            this.radGridView1.DataSource = dt;
            this.radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
        }


        public class DateOnlyConverter : TypeConverter
        {
            public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
            { 
                return destinationType == typeof(DateTime);
            }
            public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
            { 
                if (value is DateOnly && destinationType == typeof(DateTime))
                {
                    DateOnly date = (DateOnly)value;
                    return new DateTime(date.Year, date.Month, date.Day);
                }
                
                return base.ConvertTo(context, culture, value, destinationType);
            }
            public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
            { 
                return sourceType == typeof(DateTime) ;
            }
            public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
            { 
                if (value is DateTime)
                {
                    DateTime date = (DateTime)value;
                    return new DateOnly(date.Year, date.Month, date.Day);
                }
                
                return base.ConvertFrom(context, culture, value);
            }
        }

 

    
Completed
Last Updated: 12 Feb 2025 12:41 by ADMIN
Release 2025.1.211 (2025 Q1)
Completed
Last Updated: 12 Feb 2025 12:41 by ADMIN
Release 2025.1.211 (2025 Q1)
The CellSpacing property value is not taken into account. This property has different value in different themes.
Completed
Last Updated: 12 Feb 2025 12:41 by ADMIN
Release 2025.1.211 (2025 Q1)
Completed
Last Updated: 12 Feb 2025 12:41 by ADMIN
Release 2025.1.211 (2025 Q1)

System.ArgumentException: 'An item with the same key has already been added.' when the data source contains DateTime with the same hour, minute, and seconds part (only milliseconds are different):

 

Completed
Last Updated: 12 Feb 2025 12:41 by ADMIN
Release 2025.1.211 (2025 Q1)
EndEdit() method is not called of IEditableObject if an exception is thrown while setting a null value to the bound property
Completed
Last Updated: 12 Feb 2025 12:40 by ADMIN
Release 2025.1.211 (2025 Q1)
Calling the BestFitColumns() method after setting the DataSource will not resize the columns. The method logic is called before the internal measure of the control is finished. 
Completed
Last Updated: 27 Nov 2024 14:43 by ADMIN
Release 2024.4.1127 (Preview)
Completed
Last Updated: 27 Nov 2024 14:43 by ADMIN
Release 2024.4.1127 (Preview)

The following line gets serialized when set this property:

((Telerik.WinControls.UI.GridSelectCheckBoxElement)(this.radGridView1.GetChildAt(0).GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(0).GetChildAt(1).GetChildAt(0).GetChildAt(1).GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

Completed
Last Updated: 21 Nov 2024 13:15 by ADMIN
Release 2024.4.1113 (2024 Q4)
In this case, we have GridViewCalculatorColumn. The cell value is 123, for example. Trying to edit the cell value, the RadCalculatorEditor reset the cell value to 0. 
Completed
Last Updated: 13 Nov 2024 12:47 by ADMIN
Release 2024.4.1113 (2024 Q4)

Call stack:

Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridGroupHeaderRowElement.Initialize(Telerik.WinControls.UI.GridViewRowInfo rowInfo) Line 100
	at Telerik.WinControls.UI\GridGroupHeaderRowElement.cs(100)
Telerik.WinControls.GridView.dll!Telerik.WinControls.Export.GridExportUtils.GetRowHeight(Telerik.WinControls.UI.RadGridView radGridView, Telerik.WinControls.UI.RowElementProvider rowProvider, Telerik.WinControls.UI.CellElementProvider cellProvider, Telerik.WinControls.UI.GridViewRowInfo gridViewRowInfo, bool exportVisualSettings) Line 158
	at Telerik.WinControls.Export\GridExportUtils.cs(158)
Telerik.WinControls.GridView.dll!Telerik.WinControls.Export.GridViewSpreadExport.AddRow(Telerik.WinControls.UI.GridViewRowInfo gridViewRowInfo, int rowIndex) Line 960
Completed
Last Updated: 13 Nov 2024 12:46 by ADMIN
Release 2024.4.1113 (2024 Q4)
This only happens initially when you first start checking/unchecking rows. See the attached gif file.
Completed
Last Updated: 13 Nov 2024 12:45 by ADMIN
Release 2024.4.1113 (2024 Q4)

Run the attached project on a monitor with 100% DPI scaling and open the Excel-like filter popup:

100%:

After moving the form to the second monitor with 150% DPI scaling, the filter popup is not OK:

150%:

The popup is smaller and smaller with each next opening (see the attached gif file) at 150%. If you decide to move back the form on the monitor with 100% DPI scaling, the filter popup is not scaled properly.

Completed
Last Updated: 09 Oct 2024 15:36 by ADMIN
Release 2024 Q4 (November)
Completed
Last Updated: 25 Sep 2024 10:53 by ADMIN
Release 2024.3.924
In this case, the cell contains the following string: körte. When copying the cell while it is in non-edit mode, and pasting the value in another cell, the pasted string is the following one: körte
Completed
Last Updated: 25 Sep 2024 10:52 by ADMIN
Release 2024.3.924
Checking the select column header cell won't select the rows that are hidden. Thus in a grouping scenario, the group checkbox to an intermediate state. This will lead to confusion that there are still un-selected items, while all visible items are selected.
Completed
Last Updated: 25 Sep 2024 10:51 by ADMIN
Release 2024.3.924
The current behavior clears the selection when doing so.
Completed
Last Updated: 25 Sep 2024 10:39 by ADMIN
Release 2024.3.924
1 2 3 4 5 6