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. Image for the cookie policy date
close icon

Programmatic hide calendar in DateTimePickerAdv

If DisplayCalendar() is the function to use to programmatically show the calendar, what is the function to programmatically hide the control?

If I call this.datetimepicker.Calendar.Hide() then subsequent calls to this.datatimepicker.DisplayCalendar() don't do anything.

Thanks

1 Reply

KN Karikalan Natarajan Syncfusion Team July 11, 2010 07:07 PM UTC

Hi,

Thanks for using Syncfusion Products.

"this.Datetimepicker.Hide()" is nothing but control.Hide(). So once you hide the control you could not show the popup of Datetimepicker.

Here is the simple sample which illustrates to hide the popup programmatically.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=WindowsFormsApplication1526030679.zip

Please let me know if you need further assistance on this.


Thanks,
Karikalan

Loader.
Live Chat Icon For mobile
Up arrow icon