Project Description
Javascript Calendar without any server side postbacks.
It has a simple javascript file and a images folder to hold related images.

A Sample html file demonstrating the usage of the javascript based calendar control is also added. This can be used with simple Html, Asp, Asp.Net 2.0, 3,5, 4.0 or any jsp pages too.

While using Asp.Net the ClientId needs to be passed to the function .

Sample Usage:

<input type="text" id="txtDate" onclick="fnPopUpCalendar(txtDate,txtDate,'dd/mm/yyyy')"/>

onclick="fnPopUpCalendar(ImageId,AssociatedTextBoxId, Format of display like 'dd/mm/yyyy')"
*ImageId - this is the Id of the Image control, If we have a image control next to the textbox , on click of which the calendar should appear. If no image available pass the textbox id.
*AssociatedTextBoxId - Id of the Textbox control which will receive the date selected by this control
*Format of display - The format the selected date should display as , it may be dd/mm/yy or mm/dd/yy or dd/mm/yyyy

Last edited Mar 2, 2010 at 9:24 AM by Y2KPRABU, version 3