In Development
Last Updated: 06 Feb 2025 14:10 by ADMIN
Scheduled for 2025.1.2xxx (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);
            }
        }

 

    
Unplanned
Last Updated: 30 Jan 2025 11:47 by ADMIN
Created by: Darren
Comments: 1
Category: Buttons
Type: Feature Request
1
Add support to handle mutual-exclusivity similar to RadRadioButtons.
Unplanned
Last Updated: 30 Jan 2025 10:31 by ADMIN
Created by: Alok Tibrewal
Comments: 1
Category: PictureBox
Type: Feature Request
0
 
Unplanned
Last Updated: 16 Jan 2025 11:05 by Emanuele
Created by: Phil Lindquist
Comments: 2
Category: Menu
Type: Feature Request
2

The default MS ContextMenuStrip shows tooltips for disabled menu items:

In Development
Last Updated: 14 Jan 2025 12:34 by ADMIN
Scheduled for 2025.1.2xxx (2025 Q1)
Unplanned
Last Updated: 10 Jan 2025 13:08 by James

Currently, RadPdfViewer offers the DataError event which is purposed to handle errors during the import process. However, if there are problematic pages that are rendered in the viewer at a later moment after the document is already imported, the viewer doesn't offer a suitable way for handling such problematic moments even though the PdfProcessing library throws one of its exceptions

The exact client's case is loading a PDF document which contains images requiring JPX Decoder which is currently not supported. Even though the PdfProcessing library throws internally the following error, the RadPdfViewer control doesn't throw the DataError event with the respective error:

Telerik.Windows.Documents.Fixed.Exceptions.NotSupportedFilterException: 'JPXDecode is not supported.'

 

Unplanned
Last Updated: 08 Jan 2025 19:14 by Dimitre
Created by: Dimitre
Comments: 0
Category: DateTimePicker
Type: Feature Request
1

Hi Team,

I would like to request to add a Today button to the RadDateTimePicker so when the user clicks on it, the value of the RadDateTimePicker will be set to the current day/time.

Thank you!

Unplanned
Last Updated: 03 Jan 2025 13:55 by ADMIN
Created by: Frank
Comments: 1
Category: Scheduler/Reminder
Type: Feature Request
0
 
Unplanned
Last Updated: 19 Dec 2024 14:06 by ADMIN
Created by: JeffSM
Comments: 1
Category: UI for WinForms
Type: Feature Request
1
 
Unplanned
Last Updated: 09 Dec 2024 09:13 by ADMIN

When I use the new project wizard provided by Microsoft for a new windows forms project it lets me select the target .net version

When I do the same with the Telerik wizard, it does not let me choose what .net Version I'm targeting and does not generate the optimal code for the target version. For example when I target .net 9.0 with high dpi support, it should generate API calls for High DPI, not an entry in the app manifest. IMHO the generated code should be as close to the Microsoft Standard for the targeted .net version as possible. 

 

Completed
Last Updated: 03 Dec 2024 12:22 by ADMIN
Release 2024.4.1106 (Q4 2024)
Created by: Micah
Comments: 1
Category: DropDownList
Type: Feature Request
2
 
Unplanned
Last Updated: 26 Nov 2024 08:58 by ADMIN
 
Unplanned
Last Updated: 20 Nov 2024 15:10 by ADMIN
Created by: Micah
Comments: 1
Category: GridView
Type: Feature Request
2
Add support for data annotations.
Unplanned
Last Updated: 18 Nov 2024 11:24 by ADMIN
Created by: Luis
Comments: 1
Category: TextBox
Type: Feature Request
2
Add support for UI Automation in RadTextBox control.
Unplanned
Last Updated: 18 Nov 2024 11:24 by ADMIN
Created by: Luis
Comments: 1
Category: ListView
Type: Feature Request
2
Add support for UI Automation in RadListView control.
Unplanned
Last Updated: 18 Nov 2024 11:24 by ADMIN
Created by: Luis
Comments: 1
Category: CheckedListBox
Type: Feature Request
2
Add support for UI Automation in RadCheckedListBox control.
Unplanned
Last Updated: 18 Nov 2024 11:23 by ADMIN
Created by: Luis
Comments: 1
Category: SpinEditor
Type: Feature Request
1
Add support for UI Automation in RadSpinEditor control.
Unplanned
Last Updated: 18 Nov 2024 11:23 by ADMIN
Created by: Luis
Comments: 1
Category: Buttons
Type: Feature Request
2
Add support for UI Automation in RadButton control.
Unplanned
Last Updated: 18 Nov 2024 11:23 by ADMIN
Created by: Luis
Comments: 1
Category: DateTimePicker
Type: Feature Request
1
Add support for UI Automation in RadDateTimePicker control.
Unplanned
Last Updated: 18 Nov 2024 11:22 by ADMIN
Created by: Luis
Comments: 1
Category: MaskedEditBox
Type: Feature Request
1
Add support for UI Automation in RadMaskedEditBox control.
1 2 3 4 5 6