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

Telerik Grid Sorting Functionality not stable for Description Column(MultiLine Text)

1 Answer 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Akila
Top achievements
Rank 1
Akila asked on 15 Oct 2013, 09:00 AM


In my page I have used telerik grid with sorting functionality. In that I have a many columns with different datatype(Single, multiline, date, etc..)
I have a bulk of data, which I have updated day to day. In that grid, the sorting functionality is working fine for all types of columns but the column (Description) which has multiline text does not sort stable.
Example: Some data starts with number(1, 2 , ..) and Character(A, B, C, ..) and Special Character with/without number/character(1\2 , 1#, 1 D, etc..)
The sorting functionality is working fine for contents starts with both number and Character.(i.e  0, 1, 2, ...,9, A, B, C,... Z)
But the contents starts with Special Character with/without number/character is does not sort stable.
Example: 0, 1, 10, A, B....Z, 1/2, 1#, 2 D, A, B, ..Z(i.e its having two manner of sorting.. 0 to Z and again 1/2 to Z)

Pls can Anyone Help me


Thanks
Akila

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 18 Oct 2013, 06:06 AM
Hi Akila,

I have tried to replicate the issue on my side, but to no avail. Please refer to the attached sample page and see how it works on your side.

Please have in mind that when sorting string values, RadGrid is using the standard .NET String.Compare method.

If you continue to experience issues with RadGrid sorting, please modify the DataTable from the attached sample page so it could replicate the described behavior. 


Regards,
Konstantin Dikov
Telerik
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 the blog feed now.
Tags
Grid
Asked by
Akila
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or