This is a migrated thread and some comments may be shown as answers.

Group Sorting on date when it is string type?

1 Answer 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 02 Aug 2012, 07:59 AM
Hi Team,

I want to sort groups based on date string such that it is date type sort and not string sort.

How to achieve it for groups and one of the column in the grid?
Thanks,
Manoj Verma.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 03 Aug 2012, 12:59 PM
Hi Manoj,

Sorting a string as it were date is not possible because strings in .NET are only sorted lexicographically. In this case your scenario is not achievable unless you convert the column type to datetime.

Regards,
Kostadin
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.
Tags
Grid
Asked by
Manoj
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or