CurrentDateTimeText doesn't go to selected value

3 posts, 1 answers
  1. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 01 Feb 2013 Link to this post

    When I type in a date instead of using the calendar to pick a date, the .SelectedValue doesn't get set.  I'm clicking a button to add the date and I have to put the following in my code to make it work:
      myDatePicker.SelectedValue = Convert.ToDateTime( myDatePicker.CurrentDateTimeText);

    FYI: This is working ok in the WPF controls (I use this page in both types of apps).



  2. Answer
    Alek
    Admin
    Alek avatar
    78 posts

    Posted 06 Feb 2013 Link to this post

    Hello Dan,

    We tried the code you've sent us under WPF and Silverlight and it worked the same way under both platforms. We tried it under version 2012_3_1129.

    Still, we are not completely sure did we use it in the same way you are using it. Please, take a look at the attached project is case we've missed something important.

    Looking forward for your response.

    All the best,
    Alek
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 06 Feb 2013 Link to this post

    I tried to reproduce this now on a test project and couldn't.  I tried to replicated all the controls it's under and everything, but I couldn't see it.  It only happens on my project that's a bit more complicated.  Tried it on the same machine too.  I really don't have time to debug this anymore though.  It's also not that big a deal since the workaround is very easy and I'm moving that application to WPF anyway.
Back to Top