Prevent changing months

3 posts, 1 answers
  1. Froggy
    Froggy avatar
    16 posts
    Member since:
    Apr 2012

    Posted 07 May 2012 Link to this post

    Hi,

    Is it possible to prevent the user scrolling the month. I just want to display a fixed month only.  No interaction to change the months or dates.

    thanks!!
  2. Answer
    Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 08 May 2012 Link to this post

    Hello,

    Yes - it is possible - please check this help article. http://www.telerik.com/help/windows-phone/radcalendar-features-dateranges.html

    Regards,
    Valentin.Stoychev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Froggy
    Froggy avatar
    16 posts
    Member since:
    Apr 2012

    Posted 08 May 2012 Link to this post

    Perfect, for anyone else I did this:

                DateTime dt = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1);
                radCalendar.DisplayDateStart = dt;  // This month display only,
                dt.AddMonths(1);
                dt.AddDays(-1); // This is the end of the month
                radCalendar.DisplayDateEnd = dt;

    thx


Back to Top