Radgrid Numeric data sorting problem

2 posts, 0 answers
  1. JJ
    JJ avatar
    147 posts
    Member since:
    May 2010

    Posted 10 May 2012 Link to this post

    I have a column ID, I used DataType="System.Int64" but when sorting, still shows:



    I like it to sort 1,2,3,11,25,102 like number and filter like number when using less then...

  2. Pavlina
    Pavlina avatar
    6069 posts

    Posted 14 May 2012 Link to this post


    When the DataType is a numeric type such as "Integer" or "Double", columns are sorted numerically.However, you can skip this default sort behavior and provide your own custom sort order for a column by setting the AllowCustomSorting property of the corresponding table view. For more information about custom sort criteria you can refer to this help topic.

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top