This question is locked. New answers and comments are not allowed.
Hello Telerik,
I try to localize the RadDataForm in french, but it seems to not work.
To do that, I initialize the language property of my UserControl with the current language :
If I do the same with a GridView, it works fine.
I use Telerik Silverlight Control v2012.2.620.1050
You can see the result in the picture below (the date format and the text are correct in the GridView but not in the DataForm).
I will open a ticket to send you my test project.
Greetings,
Laurent
I try to localize the RadDataForm in french, but it seems to not work.
To do that, I initialize the language property of my UserControl with the current language :
public
partial
class
DataFormView : UserControl {
private
DummyViewModel ViewModel;
public
DataFormView( DummyViewModel vm ) {
Language = XmlLanguage.GetLanguage( Thread.CurrentThread.CurrentCulture.Name );
InitializeComponent();
ViewModel = vm;
DataContext = ViewModel;
}
}
If I do the same with a GridView, it works fine.
public
partial
class
GridView : UserControl {
private
DummyViewModel ViewModel;
public
GridView( DummyViewModel vm ) {
// Even if no language is set, the date format is ok in the grid
Language = XmlLanguage.GetLanguage( Thread.CurrentThread.CurrentCulture.Name );
InitializeComponent();
ViewModel = vm;
DataContext = ViewModel;
}
}
I use Telerik Silverlight Control v2012.2.620.1050
You can see the result in the picture below (the date format and the text are correct in the GridView but not in the DataForm).
I will open a ticket to send you my test project.
Greetings,
Laurent