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

Empty date in DropdownCalendarControl

Thread ID:





92191 Dec 28,2009 07:59 AM UTC Jan 4,2010 02:57 PM UTC ASP.NET Web Forms (Classic) 3
Tags: Tools
Sateesh Jain
Asked On December 28, 2009 07:59 AM UTC


How to display empty date in DropDownCalendarControl. Sometimes i want to display empty date in DropdownCalendarControl.



Venkatesh S [Syncfusion]
Replied On December 28, 2009 10:27 AM UTC

Hi Sateesh,

Thank you for your interest in syncfusion Products.

Empty date can be displayed in drop down calendar by making the value field of the textbox to empty.

Following code snippet can be used to acheive your requirement


Please let us know if it helps.


Sateesh Jain
Replied On January 4, 2010 07:24 AM UTC

It shows blank date at client side only. once postback is done i get some default value in it.i have some logic to be executed when value is blank.

Regards ,


Venkatesh S [Syncfusion]
Replied On January 4, 2010 02:57 PM UTC

Hi Sateesh,

Empty date can be displayed in drop down calendar by setting the EnableNullDate and IsNullDate properties to true for the drop down calendar.

Following code snippet can be used to achieve your requirement


protected void Page_Load(object sender, EventArgs e)
if (!IsPostBack)
DropDownCalendarControl1.EnableNullDate = true;
DropDownCalendarControl1.EnableNullKeys = true;
DropDownCalendarControl1.NullString = "";
DropDownCalendarControl1.IsNullDate = true;

For more details kindly view the below link for online documentation:


Please let us know if it helps you.



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