Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Windows Phone 7 > Calendar > Prevent changing months

Answered Prevent changing months

Feed from this thread
  • Posted on May 7, 2012 (permalink)

    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!!

    Reply

  • Answer Valentin.Stoychev Valentin.Stoychev admin's avatar

    Posted on May 8, 2012 (permalink)

    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 >>

    Reply

  • Posted on May 8, 2012 (permalink)

    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


    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Windows Phone 7 > Calendar > Prevent changing months