Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pop-up calendar in asp

Status
Not open for further replies.

acc1

MIS
Jul 31, 2003
3
US
Hi. I have a date field in a form and I want it such that when a user clicks it, a calendar will pop up for the user to select a date. I tried using DTPicker (after changing the browser's security setting) which I think was intended to be used in VB and I keep getting intermittent error of "An error occurred in a call to the Windows Date and Time Picker control" when script assigning a date to the DTPicker.
Any idea whether DTPicker can be used at all in ASP or if there are any existing calendar that can be used in ASP?
Any help is much appreciated. Thanks.
 
If you want a pop-up calendar, you're going to have to use Javascript to get the functionality.

Either you can
A) Pop-up a small window, holding the calendar, and make the user select from that window (easy)

B) 'Pop-up' a layer on the actual page, allowing the user to choose from that layer (harder)

I would go with A. You see it a lot on various websites, so I think it's become more of the standard.

hth
leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top