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

Localization in RadGrid

3 Answers 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Uttam Dhakal
Top achievements
Rank 1
Uttam Dhakal asked on 10 Jan 2013, 07:16 PM
I have radgrid being used in sharepoint webpart.   protected void RadGridCommunityList_Init(object sender, EventArgs e)i have customized the list of filter to limited so that will be easy for users.
now i need help localizing the radgrid.
1. Filter list how to display them in the local language
this is the code for filter menu
protected void RadGridCommunityList_Init(object sender, EventArgs e)
      {
 
          GridFilterMenu menu = RadGridCommunityList.FilterMenu;
          int i = 0;
          while (i < menu.Items.Count)
          {
              if (menu.Items[i].Text == "NoFilter" || menu.Items[i].Text == "Contains" || menu.Items[i].Text == "EqualTo" || menu.Items[i].Text == "GreaterThan" || menu.Items[i].Text == "LessThan" || menu.Items[i].Text == "StartsWith")
              {
                  i++;
              }
              else
              {
                  menu.Items.RemoveAt(i);
              }
          }
 
      }

2. Tool tips for everything in the Rad grid. how to localize them where should i write the code and which variable and how please advise....       

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Jan 2013, 10:11 AM
Hi,

Try Localizing the RadGrid through Global resources. Please take a look into the help documentation.

Localization through global resources

Thanks,
Shinu.
0
Uttam Dhakal
Top achievements
Rank 1
answered on 11 Jan 2013, 05:36 PM
Do you guys have the Japanese resource file available somewhere or i have to do the conversion myself .
0
Shinu
Top achievements
Rank 2
answered on 14 Jan 2013, 09:19 AM
Hi,

As far as I know, Japanese global resource file is not available. Please check the following code library which provides the available global resources for radgrid.
Global resources for RadGrid

Thanks,
Shinu
Tags
Grid
Asked by
Uttam Dhakal
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Uttam Dhakal
Top achievements
Rank 1
Share this question
or