Ivan-Mark Debono
Ivan-Mark Debono

Reputation: 16300

Is it possible to have a Textbox show calendar dropdown?

Without place a TextBox over a Calendar control and hiding/showing controls and synchronizing values between controls, is it possible to have a Textbox and a button next to it, that when clicked, shows the calendar dropdown?

I would use the DateTimePicker control, however I want to set the value to NULL without having to show & use the checkbox.

I also want that the control is empty without any default date which is grayed out.

Implementing a custom control based on this answer is trivial, but I was wondering if a calendar dropdown can be shown without the need to have a hidden DateTimePicker.

Upvotes: 0

Views: 1895

Answers (1)

Gnqz
Gnqz

Reputation: 3382

This is pretty much the definition of a DateTimePicker...

Upvotes: 1

Related Questions