Edit this page

How to hide/show the pop-up pane in code

The purpose of this tutorial is to demonstrate you how to show and hide the RadDateTimePicker's content in code.

In order to do this you have to use the RadDateTimePicker's IsDropDownOpen boolean property. Whenever you set its value to True the content (the calendar and/or the clock) will be shown, otherwise setting its value to False will hide the content.

For example:

C#

this.radDateTimePicker.IsDropDownOpen = true;

VB.NET

Me.radDateTimePicker.IsDropDownOpen = True

See Also