We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Show only the days of the current month in SfCalendar control

Thread ID:

Created:

Updated:

Platform:

Replies:

118834 Apr 14,2015 02:36 AM Apr 15,2015 08:36 AM WPF 1
loading
Tags: Ribbon
Shaiket Das
Asked On April 14, 2015 02:36 AM

Is it possible to only show the days of the current month in the SfCalendar control? Right now it show few days from the previous month and few days from the next month based on how much can fit in the grid. I wish to just show dates for the current month.

Thanks!
Shaiket

Mariappan S [Syncfusion]
Replied On April 15, 2015 08:36 AM

Hi Shaiket,

Thank you for contacting Syncfusion support,

Can you please explain whether you are asking in WPF platform? If so please find the below solution for your requirement

In our WPF CalendarEdit control, we can change the visibility of next month and previous month dates using the Boolean properties “ShowNextMonthDays” and “ShowPreviousMonthDays” respectively. We have prepared a sample by disabling these two properties and it will display only the current month dates.

If your requirement is different from our solution please provide more information about your requirement.

Please download the sample form the below link.

Sample link: CalendarEditSample.zip

Please let us know if you need further assistance.

Regards,
Mariappan S.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;