Hello, I'm using the following code to translate the options in the FilterMenu of a RadGrid into German.
This has the desired effect, but after applying a filter to the same column 2 times, the FilterMenu somehow stops working and can't be used a third time..
The width of the popup changes to just a few pixels and it's impossible to see or click the menu items.
I've tried putting the translation into a !IsPostBack block but then the language reverts to english after the first postback.
Any suggestions?
| protected void Page_Load(object sender, EventArgs e) |
| { |
| foreach (RadMenuItem item in myGrid.FilterMenu.Items) |
| { |
| item.Text = "some text"; |
| } |
| } |
This has the desired effect, but after applying a filter to the same column 2 times, the FilterMenu somehow stops working and can't be used a third time..
The width of the popup changes to just a few pixels and it's impossible to see or click the menu items.
I've tried putting the translation into a !IsPostBack block but then the language reverts to english after the first postback.
Any suggestions?