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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





80357 Mar 31,2009 04:50 PM UTC Apr 1,2009 11:00 AM UTC WinForms 1
Tags: Tools
Wil Burton
Asked On March 31, 2009 04:50 PM UTC

Is there anyway to restrict the dates that are selected? For example, I want to make it so that you can only select Mondays on the calendar.

Administrator [Syncfusion]
Replied On April 1, 2009 11:00 AM UTC

Hi Wil Burton ,

Thank you for using Syncfusion products.

Yes you can restrict the dates that are selected. If you want to allow the user to select only Mondays on the calendar, you can set Clickable property to false for other days except Monday using DateCellQueryInfo event handler.

The following code snippet used for this.


void monthCalendarAdv1_DateCellQueryInfo(object sender, DateCellQueryInfoEventArgs e)
// if not Monday
if (e.ColIndex != 2)
e.Style.Clickable = false;
e.Style.Enabled= false;

Please let me know if this helps you.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon