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.

Empty date in DropdownCalendarControl

Thread ID:





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


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



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

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 02:24 AM

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 09:57 AM

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.

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.