TimeSpan Properties

2 posts, 0 answers
  1. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 29 Jul 2011 Link to this post

    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.
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 01 Aug 2011 Link to this post

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

  3. DevCraft banner
Back to Top