This is a migrated thread and some comments may be shown as answers.
TimeSpan Properties
1 Answer 16 Views
This is a migrated thread and some comments may be shown as answers.
Daní
Top achievements
Rank 1
Daní asked on 29 Jul 2011, 10:09 AM
Hello Telerik team,

I'm using RadDataFilter in unbound mode. Currently, I have an scenario where ViewModel contains several Properties of type TimeSpan measuring delays, elapsed times,.. I have two main issues with TimeSpan properties:

1) RadDataFilter only allows "IsEqual" and "IsNotEqual" operators for TimeSpan typed properties. This is really very poor for my needs. Users complains that they want filter for thresehold values: IsGreater o IsLower operators.

2)Default TimeSpanEditor in DataFilter is just a TextBox. Is there any way to get a more intuitive editor for TimeSpan values?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 01 Aug 2011, 08:48 AM
Hello Daní,

We will add the TimeSpan type to the list of types that allow the operators that you mentioned.

The fix will be available with the Latest Internal Build that we will release later today.

As for the editors, you can define your custom editor as described here.

Here is the online example regarding custom filter editors.

I suppose that you can create a control that will have some numeric up-downs for the hours, minutes and second, but that is up to you. We don't have a built-in TimeSpan editor.

Best wishes,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Asked by
Daní
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or