In your localisation exemples, to change the culture of the grid, either your re-instanciate a new grid, or you rebind the grid.
I am looking for a way to change the culture of a grid with a NotifyPrpertyChanged mecanism for exemple ?
I don't want to destory my grid to re-create the same just for change localized string ...
Do you have any solution ?
Thanks for your help
5 Answers, 1 is accepted
This could be achieved, but would take you more efforts and time . In general the elements you need localized can be retemplated (e.g. in Expression Blend). This way any captions can be bound to the properties of your INotifyPropertyChanged object.
As said above - please have in mind this would involve a lot of heavy xaml.
Which elements of RadGridView do you need localized this way ?
the Telerik team
I was hoping you have another way ...
So I will do it for the group header bar, filter selector, and the raduplaod
But I am a little disappointed to do this...
Do you think this will change in any next release ?
All the best,
The recommended approach for runtime language change is demonstrated in our Localization demo.
We are constantly working on many improvements in our products, however I am not quite sure what would be the case with the dynamic localization. For the time being I would recommend you to use the approach demonstrated above.
the Telerik team
As a said before, create a new instance of the grid when localisation changed is NOT an option ...
It's not a good practice in Silverlight and you should not encourage to do this ...
I would make the templates as soon as I have some time
are there any templates which could be provided? I need to change the language of the localization of a gridview at runtime without creating an instance of a gridview, too.
Is it now planned to support dynamic localization in a further Telerik version?