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

Remove the extra dates Visible out of the month

1 Answer 215 Views
Calendar - Xamarin.Android
This is a migrated thread and some comments may be shown as answers.
Vishwajit
Top achievements
Rank 1
Vishwajit asked on 03 May 2019, 10:37 AM

Hi Team,
I am using RadCalendarView in month view mode with horizontal scroll

it currently shows previous month's last week dates and next months first week dates as well even when none of the date from that week lies in current display month as you can see in the last row of attached screenshot.

Is it possible to show only dates for current month ? If the week has any date of current display month then displaying that complete week would be ok.

Please let me know how we could achieve it.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 08 May 2019, 07:46 AM
Hello Vishwajit,

I am afraid that hiding the days that are not part of the current month in MonthView is currently not provided by RadCalendar control. I would suggest instead to apply a different styling to those days, so it's more noticeable they're from previous/next month.  The other option is to set MinDate and MaxDate to the first and last day of the current month, respectively - in this case the other dates will be disabled.

Please go through the following topics for more details on these suggestions:
RadCalendarView: Customizations
RadCalendarView: Disabled Dates

I hope I was of help.

Regards,
Yana
Progress Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Calendar - Xamarin.Android
Asked by
Vishwajit
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or