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 values

Thread ID:





116192 Apr 22,2014 01:37 PM UTC Apr 23,2014 12:52 PM UTC WinForms 1
Tags: DateTimePickerAdv
William Gower
Asked On April 22, 2014 01:37 PM UTC

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 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.


Attachment: DateTimePicker_8f71f4db.zip


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