I have a gridview, with a column that is a date. It displays the date in the format of the current culture.
However, at runtime the culture can change.
How can I let the gridview adapt to this new culture, so that the dates are formatted in the new culture format?
3 Answers, 1 is accepted
0
Milan
Telerik team
answered on 17 May 2011, 09:00 AM
Hello Ludwig,
At the moment the you should reload the whole grid when the culture is changed. We will be investigating if we can modify the grid in such a way to support automatic refresh.
What you can try is to place the grid in a UserControl and when the culture is changed replace the current instance of this control with a new one.
Hope this helps.
Greetings,
Milan
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
I am afraid that RadGridView or any other control will not be able to refresh automatically when the culture is changed.
There is one property of FrameworkElement called Language that should be used in scenarios where the culture is changed. At the moment, if you set this property the grid will not refresh its UI and we are investigating how we can allow this.
Regards,
Milan
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!