For some reason, I cannot use DatePicker control. I can use a regular textbox, plus a caledar icon. I want to achieve the same thing as DatePicker, by clicking that icon, it shows a calendar, when a date is slected, the date is entered into the textbox.
One way to achieve the functionality is using a calendar control and setting the visibility from client side on clicking the popup image. Check the following code:
I am able to remove the textbox and connect the calendar to the combobox.
The problems are:
The calendar icon is in a dev and puts extra space around it in the GUI.
On startup, the calendar flashes on and then off and the space it took up is not removed,
so there is a big whole in my GUI.