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

2 posts, 0 answers
  1. Shah Z
    Shah Z avatar
    6 posts
    Member since:
    Jan 2009

    Posted 24 Apr 2013 Link to this post


    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?

  2. Deyan
    Deyan avatar
    2026 posts

    Posted 25 Apr 2013 Link to this post

    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.

    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.
  3. DevCraft banner
Back to Top