Hi!
I would like to know if there is a way of changing the language of a filter in a grid aswell anothers objects in the grid. I tried the cultural but it didn't work.
Many Thanks,
FEST
I would like to know if there is a way of changing the language of a filter in a grid aswell anothers objects in the grid. I tried the cultural but it didn't work.
Many Thanks,
FEST
5 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 08 Jul 2011, 10:15 AM
Hello Fest,
You can localize the filter options in page load as shown below.
C#:
Thanks,
Princy.
You can localize the filter options in page load as shown below.
C#:
protected void Page_Load(object sender, EventArgs e){ foreach (RadMenuItem item in menu.Items) { if (item.Text == "Between") { item.Text = "your text"; } }}Thanks,
Princy.
0
FEST
Top achievements
Rank 1
answered on 13 Jul 2011, 02:29 PM
HI Princy!
Im really sorry for my delay. I wasn't able to reproduce that code to VB i got some errors. Can you please ost a VB version of the code?
Many thanks,
FEST
Im really sorry for my delay. I wasn't able to reproduce that code to VB i got some errors. Can you please ost a VB version of the code?
Many thanks,
FEST
0
Princy
Top achievements
Rank 2
answered on 13 Jul 2011, 02:47 PM
Hello Fest,
Here is the VB version of the code.
VB:
You can use the following tool to convert your code.
http://converter.telerik.com/
Thanks,
Princy.
Here is the VB version of the code.
VB:
Protected Sub Page_Load(sender As Object, e As EventArgs) For Each item As RadMenuItem In menu.Items If item.Text = "Between" Then item.Text = "your text" End If NextEnd SubYou can use the following tool to convert your code.
http://converter.telerik.com/
Thanks,
Princy.
0
FEST
Top achievements
Rank 1
answered on 13 Jul 2011, 06:30 PM
Hi Princy.
Im rather confused. you have radmenuitem isnt that for radmenu? Whati want to change is a radfilter and put the and or contains and that sort of option in another language.
Many thanks,
FEST
Im rather confused. you have radmenuitem isnt that for radmenu? Whati want to change is a radfilter and put the and or contains and that sort of option in another language.
Many thanks,
FEST
0
Princy
Top achievements
Rank 2
answered on 14 Jul 2011, 05:09 AM
Hello Fest,
Filter menu is rendered as RadMenuItem. Using the FilterMenu property of the grid to access the filtering menu as
Localizing filtering menu options.
Thanks,
Princy.
Filter menu is rendered as RadMenuItem. Using the FilterMenu property of the grid to access the filtering menu as
GridFilterMenu menu = RadGrid1.FilterMenuAlso check the following help documentation which explains the same.
Localizing filtering menu options.
Thanks,
Princy.