Set the current Date

2 posts, 0 answers
  1. Reinhard
    Reinhard avatar
    9 posts
    Member since:
    Jun 2010

    Posted 26 May 2011 Link to this post

    Hi.

    The user changed the calenderview / selecteddate
    Sample:
    today = 2011.05.20
    user changed to 2009.01.02

    In my Button i set the current date:
    calendar.SelectedDate = Datetime.ToDay;

    Before i do this:
    if (calendar.DisplayMode != Telerik.Windows.Controls.Calendar.DisplayMode.MonthView )
    {
        calendar.DisplayMode = DisplayMode.MonthView;
    }



    But the calnder doesn´t show the correctly date!
    Why?


       







    Reinhard
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 27 May 2011 Link to this post

    Hello Reinhard,

    I've tried to reproduce this issue but to no avail. Please send us more details about your exact scenario. Thanks

    All the best,
    Yana
    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top