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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DateTimePickerAdv disable keyboard input

Thread ID:





82296 Jun 9,2009 08:06 AM UTC Aug 12,2010 10:03 AM UTC WinForms 2
Tags: Tools
"Anna" Natalia Swanny Triana Sudiono
Asked On June 9, 2009 08:06 AM UTC


I have a list of valid dates that should be used for the DateTimePickerAdv and I use the DateCellQueryInfo event to prevent invalid dates from being selected by the users.

How do I do the same for the manual input on the DateTimePickerAdv 'TextBox'? If not, how to disable any manual input and force users to use the drop-down calendar?



Fathima Shalini P [Syncfusion]
Replied On June 12, 2009 04:45 AM UTC

Hi Natalia,

Thank you for your interest in Syncfusion Products.

To disable entering values manually and to allow to enter a value only using MonthCalender is possible by overriding ProcessCmdKey event. Kindly refer to the sample provided below that illustrates this:


Please let me know if any concerns.


Replied On August 12, 2010 10:03 AM UTC

The link does not work. Could you please provide a working one?


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

Live Chat Icon For mobile
Live Chat Icon