This is a migrated thread and some comments may be shown as answers.

Prevent changing months

2 Answers 58 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Froggy
Top achievements
Rank 2
Froggy asked on 07 May 2012, 05:12 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Valentin.Stoychev
Telerik team
answered on 08 May 2012, 08:00 AM
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 >>

0
Froggy
Top achievements
Rank 2
answered on 08 May 2012, 09:32 AM
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


Tags
Calendar
Asked by
Froggy
Top achievements
Rank 2
Answers by
Valentin.Stoychev
Telerik team
Froggy
Top achievements
Rank 2
Share this question
or