Date Time Picker as dropdown

Hello Experts,

Does anyone know how to do a date time picker as a dropdown control?  In a way that VB handles DTPicker.

I'm trying to use the <OBJECT id=Calendar1> ActiveX, but I don't think that you can collaps it as a dropdown?

Thank you.
APD TorontoSoftware DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

APD TorontoSoftware DeveloperAuthor Commented:
Not quite...  I need it for classic ASP / HTML.
For example, in VB, using Microsoft's DTPicker control, I did the attached snapshot.  It looks like a dropdown, but when you click the down arrow, it xpands to a calendar, and when you click on a date or else where, it collapses back to a droppdown.

I cant take credit for this but I think its what you are looking for.

Its done in Javascript.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Don't know if this will help your situation, but in a C++ project (using MFC) I was able to create my own true combobox / date picker control.  It allowed you to manually key a date or alternately click the dropdown button to display a calendar like you show.

Basically, I started with a combobox.  But I then intercepted the dropdown command to hide/display a CMonthCalCtrl control in a new popup window.  I also had to override the CMonthCalCtrl KillFocus command to cause the combobox to act like someone clicked the drowdown again to hide the calandar control.
APD TorontoSoftware DeveloperAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.