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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date data entry

Status
Not open for further replies.

david7777777777

Programmer
Sep 26, 2001
417
US
I'm building ASP pages that allow users to enter data into a SQL 2000 database. One of the fields will hold a date and I want to provide the users with a very simple way to enter a date on the data entry page. I'm thinking from a pop-up mini-calendar or something along those lines. Anyone know of anything like this?
 
Yes. Have a look at In the 'admin' section look at Clients/Project/Tasks
Pick a client and view their projects

in the project edit panel, there is a calendar pop-up.

If you are clever, you sould be able to take the code (a javascript file and an html file).

Please tell me if you need more guidance. (Content Management)
 
Well, I'm fairly confident that I could figure most of it out. But I cannot find the pop-up calendar. I've looked at both users, Mary Giles and Test User and I cannot find a calendar anywhere in the app. Can you show me where it is please? Thanks.
 
On the opening page, under the Name list is an 'Admin Menu' link. Choose this, then Maintain Client/project...
Select a Client, and click the 'Projects' button.
There is a Project Start Date calendar.

The calendar has a different colour to the rest of the web. It could use a CSS, but Netscape 4 still fails - so the colours/fonts are hard coded instead.

The calendar is in two parts - a static html file (with fixed colours) and a javascript file. They are both included at the BOTTOM of the Maintain Projects page.

To fix the calendar colours we could have generated the html using Client-Side JavaScript. However, this would be rather slow. (ie. do not have a static HTML page, but completely contruct the calendar using JavaScript and DHTML commands).

Or, we could simply just edit the static HTML page to have better colours. Not bad but quite fiddly.

Finally, we could build a Generator app. We could then pick colours and layout options, press GO and it would spit out a complete HTML file with the appropriate tag values for the perfect calendar!

We have used this idea for a Menu system - so rather than dynamically generating a menu for every page, or fiddling with code - we use a generator that contructs the HTML/JavaScript for the web. Change menu from left-hand-edge to Across-the-top? no prob, generator just spits out a complete HTML/Javascript file with the correct format.

Hope you get the idea!

PS. there are at least 3 commercial calendar builders. See if you can track them down! (Content Management)
 
3 calendar builders? Try 300! But most of them look to be ones for making Desktop Publishing type greeting cards or some other end-user toys. Hopefully I'll stumble across one that provides what I need. Thanks for the heads up.
 
This calendar you have in this project app is exactly what I'm looking for. Did you make it from scratch or modify existing code?
 
Sorry, I meant to ask where I can get the Datepicker.js file, or is this what I need to figure out how to make?
 
I spoke too soon, I found the Datepicker.js file. Thanks. I'm guessing I just have to modify it to fit my app.
 
GOT IT!! I must be just clever enough. I modified it to work with my app. Thanks a bunch Merlin. This calendar rocks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top