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

localization & sorting of grid

4 Answers 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
lina fetisova
Top achievements
Rank 1
lina fetisova asked on 05 Aug 2010, 07:17 AM
Good day!
I'm new for ASP.NET AJAX and maybe it will be a very stupid question, but I try to add sorting and localization of the grid messages to my grid but I have no results =(
about localization:
I've added the folder named App_GlobalResources to my project, and added RadGrid.Main.resx & RadGrid.Main.ru-RU.resx with needed strings to this folder. (like I saw here http://www.telerik.com/help/aspnet-ajax/localization-global-resources.html)
 But there is no effect =(
Should I write some usings of this resourses on the page with my grid? Or should I do something else?

about sorting:
I added AllowSorting="true" to my grid. Shoud I do something else to make me columns simple sortable? Now when I click the name of column I see the busy indicator for a while but nothing happens =(

maybe you can show me some sample with localization and very simple sorting?

great thank to you!

4 Answers, 1 is accepted

Sort by
0
lina fetisova
Top achievements
Rank 1
answered on 06 Aug 2010, 05:26 AM
?
0
Daniel
Telerik team
answered on 09 Aug 2010, 12:28 PM
Hello Lina,

You should set the Culture property as suggested in the help topic.
Localization through global resources

Kind regards,
Daniel
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
lina fetisova
Top achievements
Rank 1
answered on 19 Aug 2010, 04:45 AM
good day! I try to make everything like here http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/localization/defaultcs.aspx

I write grUsersGroup.Culture = new CultureInfo("ru-RU");
and I have such an error:
'Telerik.Web.UI.RadGrid' does not contain a definition for 'Culture' and no extension method 'Culture' accepting a first argument of type 'Telerik.Web.UI.RadGrid' could be found (are you missing a using directive or an assembly reference?)   
0
Daniel
Telerik team
answered on 24 Aug 2010, 02:16 PM
Hello Lina,

Please make sure that you use the latest version of RadControls for ASP.NET AJAX (Q2 2010 - 2010.2.713).

Best regards,
Daniel
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
lina fetisova
Top achievements
Rank 1
Answers by
lina fetisova
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or