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

Issue with Q1 release

3 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jerry
Top achievements
Rank 1
Jerry asked on 13 Apr 2011, 09:37 AM
The key with the following name "SortedAsc" was not found. Please update all localization files.Hi Telerik Team,


I was trying to update my project to the latest Q1 release. After updating, I encounter a few problems.

When I try to run my project, I got the following error.

"The key with the following name "Refresh" was not found. Please update all localization files."

by reading this thread, I realized thats the problem with GridLocalization.en-US.resx in App_GlobalResources.

Then I just copy the new version of GridLocalization file to replace the existing GridLocalization file in my project. Problem solved.

Then another problem came up, I have a Calendar, where user can choose different date, and view associate records in the grid. in the grid, I want to sort everything according to "StartTime" which is a datetime type. Before upgrade to Q1, the grid sorting works fine. But after update, The calendar by default is Today, when I mouse click sort "StartTime", no problem. But when I naviagate to a different date eg.B from Calendar, I try to mouse click to sort "StartTime". The records in the grid became today's records.

Before update to Q1, the records in the grid suppose to change only when I change the date in the Calendar, however it changes back to Today's records everytime a user is trying to sort "StartTime".


Could anyone have a look what is the problem? Really appreciated...

3 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 13 Apr 2011, 09:57 AM
Hello Jerry,

I'm afraid that I'm not sure what is the exact cause for the behavior you are experiencing judging from the provided details. However, it sounds like it may be caused by a change introduced in the grid's bind method described here (under The additional parameter values passed through Grid's client-side rebind method are not persisted on subsequent rebinds). 
If you continue to experiencing difficulties please provide a small runnable project which demonstrates the issue.

Best wishes,
Rosen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jerry
Top achievements
Rank 1
answered on 13 Apr 2011, 10:06 AM
Hi Rosen,


I just investigate the problem by using firebug, it looks like that everytime a user is trying to sort "StartTime", it triggers the ajax Select request.

How can I prevent that the request being triggered by sorting a column?

PS: I'm using ajax binding for my grid.


Thank you
0
Rosen
Telerik team
answered on 13 Apr 2011, 10:15 AM
Hello Jerry,

As you may know all of the sorting/filtering/grouping etc. operations are executed on the server, therefore, if the request to the server is canceled then the grid's data will not be sorted.

Regards,
Rosen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Jerry
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Jerry
Top achievements
Rank 1
Share this question
or