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

DateTimePickerAdv and Null Dates

Thread ID:





72451 Mar 19,2008 06:12 PM UTC Mar 28,2008 12:00 AM UTC WinForms 1
Tags: Tools
Asked On March 19, 2008 06:12 PM UTC

Hi -
When i expose the None button and select it the date displayed in the textbox of the control correctly clears out to the NullString value. However, when i tab off of the control, the control's display changes back to the previous date value.
You can see this behavior in the sample shipped with the product (DateTimePickerAdv demo).

Note that i am using version
Is this a bug, or is there something else that needs to be done to prevent this behavior.


Administrator [Syncfusion]
Replied On March 28, 2008 12:00 AM UTC

Hi Julie,

Thank you for your interest in Syncfusion products.

You can change this behavior by setting the NullmodeKeyReset property of dateTimePickerAdv1 to ArrowKeys or NumericKeys. By default it is set to Any. Please refer to the code snippet given below:

//Please set NullModeKeyReset property to ArrowKeys or NumericKeys
this.dateTimePickerAdv1.NullModeKeyReset = Syncfusion.Windows.Forms.Tools.NullModeKeyReset. ArrowKeys;

Please let me know if you need any further information.



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

or the page will be automatically redirected to 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