calander display from button

remya1000

Well-known member
Joined
Mar 29, 2007
Messages
122
Programming Experience
Beginner
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
 
First, you'll need a calendar control. There are many free ones including ASP.NET AJAX (the control toolkit). Most use javascript to show the calendar after clicking a image button or the textbox itself.

After you have the dates in the textbox, you need to query the database using an SQL statement constructed out of the two dates.

I didn't see the rate thing in your link, but I have seen it before. They utilize AJAX to accomplish this. The ASP.NET AJAX control toolkit includes a rating control. See above for a link to the ASP.NET AJAX site.
 
Back
Top