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

Localizing ALL grids

7 Answers 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
NEX
Top achievements
Rank 1
NEX asked on 10 May 2009, 09:52 PM
You can localize all of the RadSchedulers in a project but just changing the RadScheduler.Main.resx file.  Is there a similar option for the RadGrid?  I have bunch of grids in a project.

7 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 May 2009, 04:30 AM
Hi Alfred,

Check out the following help article and see whether it helps.
Localization through resource files

Shinu
0
NEX
Top achievements
Rank 1
answered on 11 May 2009, 06:48 AM
Not much :) I would still have to go and modify each grid.
0
Sebastian
Telerik team
answered on 11 May 2009, 11:19 AM
Hi Alfred,

I think that the localization files provided in the following code library entry will help you localize the grids in your application.

Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
NEX
Top achievements
Rank 1
answered on 11 May 2009, 02:45 PM
Ok. I may have an easier solution or fix.

How can I just hide the Page 1 of 2 etc. information displayed to the right of the paging bar?
0
Shinu
Top achievements
Rank 2
answered on 12 May 2009, 06:47 AM
Hi Alfred,

That portion of the Pager item is contained inside a panel. You may access the panel in the code behind and hide it as shown below.

CS:
 
  protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
        if (e.Item is GridPagerItem) 
        { 
            GridPagerItem pager = (GridPagerItem)e.Item; 
            Panel pagerpanel = (Panel)pager.FindControl("ctl24"); 
            pagerpanel.Visible = false
        } 
    } 


Thanks
Shinu.
0
Aytaç Utku TOPAL
Top achievements
Rank 2
answered on 15 Apr 2010, 01:09 PM
Hi,
I searched the forum and Telerik folder on my computer, and could'nt find any resx file related to grid. I read some topics that says It will be provided soon. Is there any up to date information about this? There is a link above but is not working. 

But it is not actually what I am looking for. A .resx file would help us very much. We have a deadline tomorrow. So we have no time to create that file.

Thanks in Advance. 
Kind Regards.
AytaƧ Utku TOPAL
0
Sebastian
Telerik team
answered on 16 Apr 2010, 08:38 AM
Hello AytaƧ,

Here is the correct link to the code library thread which contains the sample resource file for RadGrid for ASP.NET AJAX:
http://www.telerik.com/community/code-library/aspnet-ajax/localization/localization-files-for-radgrid-radcalendar-and-radinput.aspx

It can be used as basis for your custom resx file.

Best regards,
Sebastian
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
NEX
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
NEX
Top achievements
Rank 1
Sebastian
Telerik team
Aytaç Utku TOPAL
Top achievements
Rank 2
Share this question
or