Link to home
Start Free TrialLog in
Avatar of scm0sml
scm0sml

asked on

general ideas for using a calendar control to set availability

I am after some general advice.

I have a calendar control and wanted a user to be able to click on cells of the month and change the background colour of the cell to set different types of availability for that day, so on first click would change to red to show booked etc, then when they hit save i would do a check on the background colour and save the status to the database.

it seems there is no onclick event for a day of a calendar so am after alternate ways to allow the user to set availability status for a particular day.

does anyone have any ideas, is there a "normal" way of doing this?
ASKER CERTIFIED SOLUTION
Avatar of RusselR
RusselR

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of scm0sml
scm0sml

ASKER

i have got my date ranges selected now so will have a dropdown to allow the user to select the status for the selected date range then set the background colour of the cell based on the value of the dropdown.
Avatar of scm0sml

ASKER

we are getting there :)