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

disable dates in dateTimePickerAdv

Thread ID:





85881 Jul 6,2009 03:34 PM UTC Jul 27,2009 06:23 AM UTC WinForms 1
Tags: Tools
Asked On July 6, 2009 03:34 PM UTC


How can we disable the date in dateTimePickerAdv outside the interval defined by the MinValue and the MaxValue.



Mano J [Syncfusion]
Replied On July 27, 2009 06:23 AM UTC

Hi Samuel,

Please set the InactiveCaptionColor as same as the background in the dateTimePickerAdv popup event.

this.dateTimePickerAdv1.OnPopup += new EventHandler(dateTimePickerAdv1_OnPopup);

void dateTimePickerAdv1_OnPopup(object sender, EventArgs e)
dateTimePickerAdv1.Calendar.InactiveMonthColor = Color.White;

Best Regards,


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