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

Radgrid sorting issue

2 Answers 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tabassum
Top achievements
Rank 1
Tabassum asked on 21 Apr 2015, 08:50 AM

Hi,

  I am having have problem with radgrid sorting. When I debug code and check my list collection it shows data in correct order but it does not show in the same order when the grid is populated.

      If I set  GridView.MasterTableView.SortExpressions.AddSortExpression(criteria); then it works once. But then on GridView_SortCommandevent I get the same sortexpression and sortorder all the time. When I try to clear the sortexpression I get "Telerik.Web.UI.ParseException: Syntax error" on grid.rebind().

 

2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 24 Apr 2015, 07:58 AM
Hello,

Could you paste the code you debug here using the Format Code Block of the ticket editor?

Regards,
Pavlina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Tabassum
Top achievements
Rank 1
answered on 24 Apr 2015, 08:55 AM

Hi,

My problem is solved. I had not added "AllowCustomPaging = true" .  

 Regards,

Tabassum

Tags
Grid
Asked by
Tabassum
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Tabassum
Top achievements
Rank 1
Share this question
or