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

Disable days on month view of xamarin.forms calendar?

1 Answer 163 Views
Calendar & Scheduling
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Veteran
Andy asked on 30 Oct 2020, 08:28 PM
I see I've got agenda, day, and multi day view settings; in any of those I can set the disabled days. How can I set disabled days on a month view of the calendar? Unfortunately, multi day doesn't work.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 03 Nov 2020, 11:03 AM

Hi Andy,

I am afraid at this point disabled days feature is not available for MonthView in the same way as in the other views, we have this logged in our feedback portal, please cast your vote and track its status at the link below:

Calendar: Add Special Dates feature

In the meantime, you can implement it in MonthView by providing different styling to the disabled dates (Calendar: Cell Styling) and also handling SelectionChanged event - in the event handler you can reset SelectedDate in case the user clicked on any of the disabled dates. 

Please give it a try and let me know how it goes.

Regards,
Yana
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Calendar & Scheduling
Asked by
Andy
Top achievements
Rank 1
Veteran
Answers by
Yana
Telerik team
Share this question
or