DateTimePickerAdv and null values

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?

1 Reply

AJ Ashwini Jaya Preetha Durai Samy Syncfusion Team April 23, 2014 12:52 PM UTC

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

Loader.
Up arrow icon