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.

DateTimePickerAdv and null values

Thread ID:

Created:

Updated:

Platform:

Replies:

116192 Apr 22,2014 09:37 AM Apr 23,2014 08:52 AM Windows Forms 1
loading
Tags: DateTimePickerAdv
William Gower
Asked On April 22, 2014 09:37 AM

I have two date fields PayPeriodStartDP and PayPeriodEndDP. I want them both to start with null values. When the user changes the PayPeriodStartDP value, i want to make sure the start date is greater than the end date. I have set both date controls to EnableNullValue and IsNullDate to true. But if i check the value for each date before i enter anything into them, i find them both set to the current date. How do i get a true null value or check to see if the user has not enter a date yet into the controls?

Ashwini Jaya Preetha Durai Samy [Syncfusion]
Replied On April 23, 2014 08:52 AM

Hi William,

Thank you for using Syncfusion products.

We would like to let you know that we have created a sample to meet your requirment by handling the IsNullDate property.Please make use of the attached sample and kindly let us know if its help you.


Regards,
Ashwini.D

Attachment: DateTimePicker_8f71f4db.zip

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.

;