By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,231 Members | 1,747 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,231 IT Pros & Developers. It's quick & easy.

Calander display from button

100+
P: 115
I'm using ASP with MSAccess as database.

i have two text box and one button in my page.
and i need to select dates from calander and display it in this two textbox. but i dont need to place a calander all the time in my page.b'coz its taking lots of space. so what i need is that while pressing the button or while moving the cursor on top of textbox or button (like tool tip) i need the calander to display and i need to select the date and that date should be displayed in the textbox. like wise i need to fill two textbox.
and when i press the button it should display the records between thoses two dates in the textbox.

and for an idea what telling just check this site.
http://msdn2.microsoft.com/en-us/library/b9w25k6f.aspx

and see "Click to Rate and Give Feedback " while moving the cursor, a feedback box will appear and we can type inside that.

like wise whethere we can display a calander and select the date from that calander and display it inside the textbox.

if you have any idea how to do this please help me. i need some help in this. plaese help me if u have some idea.

thanks in advance
May 3 '07 #1
Share this Question
Share on Google+
4 Replies


jhardman
Expert 2.5K+
P: 3,405
This is done with javascript, although I guess parts of it could be done with css. Anyway, I have moved your question out of the asp forum because asp can not help here. I hope the experts here will know how to help you.

Jared
May 3 '07 #2

100+
P: 115
I'm using ASP with MSAccess as database.

i have two text box and one button in my page.
and i need to select dates from calander and display it in this two textbox. but i dont need to place a calander all the time in my page.b'coz its taking lots of space. so what i need is that while pressing the button or while moving the cursor on top of textbox or button (like tool tip) i need the calander to display and i need to select the date and that date should be displayed in the textbox. like wise i need to fill two textbox.
and when i press the button it should display the records between thoses two dates in the textbox.

and for an idea what telling just check this site.
http://msdn2.microsoft.com/en-us/library/b9w25k6f.aspx

and see "Click to Rate and Give Feedback " while moving the cursor, a feedback box will appear and we can type inside that.

like wise whethere we can display a calander and select the date from that calander and display it inside the textbox.

if you have any idea how to do this please help me. i need some help in this. plaese help me if u have some idea.

thanks in advance
May 3 '07 #3

100+
P: 115
so whether i need to post this request to java page for some help.... and thanks for the post. actually i didnt know that. we need to use java script for this.
thanks.
May 3 '07 #4

acoder
Expert Mod 15k+
P: 16,027
There are some free programs/scripts that do exactly what you require.

A Google search for "javascript calendar" should give you links to free Javascript calendars.

As for displaying/hiding, you can use the style attribute "visibility: hidden" and "visibility: visible". With javascript, that would be:
Expand|Select|Wrap|Line Numbers
  1. obj.style.visibility='visible'
where 'obj' is the calendar/text box.

You can also use overlib for tooltips.

If you have problems, post again with your code.
May 4 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.