Completed
Last Updated: 08 Oct 2020 14:25 by ADMIN
Release R3 2020 SP1
Grégory
Created on: 14 Sep 2020 11:33
Category: GridView
Type: Bug Report
1
RadGridView : NullReferenceException in GridViewTimeSpanColumn with negative TimeSpan
Hi,

We got an issue with the Winforms grid view component while displaying a negative TimeSpan.
1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 14 Sep 2020 15:09

Hello,

To work around the issue you can set the FormatInfo property as shown below:

GridViewTimeSpanColumn gridViewTimeSpanColumn1 = new GridViewTimeSpanColumn();
gridViewTimeSpanColumn1.FormatInfo = CultureInfo.CurrentCulture;

Regards,
Nadya
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).