I have a column ID, I used DataType="System.Int64" but when sorting, still shows:
1,102,11,2,25,3,
I like it to sort 1,2,3,11,25,102 like number and filter like number when using less then...
Thanks!
1 Answer, 1 is accepted
0
Pavlina
Telerik team
answered on 14 May 2012, 05:36 PM
Hi,
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,
Pavlina
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.