This is a migrated thread and some comments may be shown as answers.

How to correctly pick up the right culture if we use a RadDatePicker in a DataForm through MVVM

1 Answer 31 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shah Z
Top achievements
Rank 1
Shah Z asked on 24 Apr 2013, 10:57 AM
Hi..

I can't seem to get this.. 

I have a RadDataForm and one of the DataField is targeted to a RadDatePicker. 
When I change the CultureInfo from another view, the DatePicker does not seem to pick it up. It still uses the previous cultureinfo.
However, if i do this not within a RadDataForm, it works fine.. 

It is only after I exit my app and relaunch it then i will get the correct culture value on the datepicker in the dataform.

I am trying to do this from the MVVM point of view and as far as I know, i will bind to the CurrentItem which can be a model class, but I'm blurr on how to make this work properly..


How to solve this?

Shah

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 25 Apr 2013, 07:51 AM
Hi Shah,

Thanks for writing.

Can you please provide us with further details on how exactly are you changing the CultureInfo so that we can make sure we correctly understand the case and be able to further assist you.

Regards,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
DataForm
Asked by
Shah Z
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or