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

RadGrid Filter Menu

6 Answers 406 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rafael
Top achievements
Rank 1
Rafael asked on 31 Mar 2009, 07:21 PM
Hi developers,

I'm using the RadGrid's filter and it's working well. The problem is that I need to translate the options of the filter menu (Starts with, Contains, Equals to). How can I do this? I need to translate the menu to brazilian portuguese (pt-BR).

Rafael

6 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 01 Apr 2009, 05:40 AM
Hello Rafael,

Refer to the following help document which explains on how to localize the filter function names or change them to display your own custom text:
Localizing filtering menu options

Thanks
Princy.
0
Rafael
Top achievements
Rank 1
answered on 01 Apr 2009, 10:50 AM
Thanks, Princy.
Your answer is the solution.
0
Muntaser
Top achievements
Rank 1
answered on 04 Aug 2011, 12:11 PM
 I'm using the RadGrid's filter and it's ... how to localize the filter function
names ... own custom text: Localizing filtering menu options
Thanks .
0
Princy
Top achievements
Rank 2
answered on 04 Aug 2011, 12:19 PM
Hello Muntaser,

You can localize filter options in page load as shown below.

C#:
protected void Page_Load(object sender, System.EventArgs e)
{
    GridFilterMenu menu = RadGrid1.FilterMenu;
    foreach (RadMenuItem item in menu.Items)
    {  
        if (item.Text == "Contains")
        {
            item.Text = "Your Text";
        }
    }
}
Here is the following help documentation which explains more about this.
Localizing Filtering Menu Options.

Thanks,
Princy
0
Muntaser
Top achievements
Rank 1
answered on 04 Aug 2011, 01:18 PM
Thanks  for answer
but  iam use in windows form
0
Stefan
Telerik team
answered on 09 Aug 2011, 04:08 PM
Hi Muntaser,

Thank you for the clarification.

Please refer to this help article which demonstrates how to localize all strings in RadGridView.

I hope that the provided information addresses your question. Should you have any other questions, do not hesitate to contact us.

Best wishes,
Stefan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
Grid
Asked by
Rafael
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Rafael
Top achievements
Rank 1
Muntaser
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or