Hi Telerik team,
i got a problem when doing translation to the header text of a RadGrid, and it's not using the culture. Language changing is actually from a dropdownlist, for example the dropdownlist has 3 items, english, chinese and spanish. and this Language dropdownlist is actually built as a user control. so every aspx page will have this user control and the function to translate is actually inside this user control as well. the function consists of 3 parameters, Page.Controls, newlanguage and oldlanguage. whenever i select a language, say spanish, it will pass the 'spanish' as newlanguage and 'english' as oldlanguage (by default oldlanguage is english) and then after translation, set the oldlanguage = newlanguage. after that i'll pass all the controls from the aspx page to translate, which is the Page.Controls. my problem here is only with RadGrid, i've no problem with label and other controls. for RadGrid, the translation seems a step behind, for example i change language from english to spanish and then to chinese, the RadGrid will stay in english at spanish stage, and then spanish at chinese stage.
Regards.
i got a problem when doing translation to the header text of a RadGrid, and it's not using the culture. Language changing is actually from a dropdownlist, for example the dropdownlist has 3 items, english, chinese and spanish. and this Language dropdownlist is actually built as a user control. so every aspx page will have this user control and the function to translate is actually inside this user control as well. the function consists of 3 parameters, Page.Controls, newlanguage and oldlanguage. whenever i select a language, say spanish, it will pass the 'spanish' as newlanguage and 'english' as oldlanguage (by default oldlanguage is english) and then after translation, set the oldlanguage = newlanguage. after that i'll pass all the controls from the aspx page to translate, which is the Page.Controls. my problem here is only with RadGrid, i've no problem with label and other controls. for RadGrid, the translation seems a step behind, for example i change language from english to spanish and then to chinese, the RadGrid will stay in english at spanish stage, and then spanish at chinese stage.
Regards.