Calendar Date Question.. - 07-09-2007 , 12:06 PM
I have an equipment checkout app that I have that allows people to
checkout a certain piece of equipment for a certain date and it works
using a asp.net calendar control using vb.net and SQL as the backend.
It works great, but now the request has come in that they want to be
able to reserve a piece of equipment for more than just one day at a
time. What I am trying to figure out is when folks select more than 1
day on the calendar control(I.E. - They select 3 days on the
calendar), how to get the date range or multiple selected dates to get
parsed back into individual date values that can be input into a
database on a per date basis.
For Example: Jenny reserves the projector for a week on the calendar
control. The application needs to parse out each date(to a value) for
that week she selected so as to input a reservation for each date for
that projector so folks cannot reserve it again.
Thanks in advance,
Re: Calendar Date Question.. - 07-09-2007 , 03:46 PM
While no solution, I can provide my experience. I never found a way, without
creating a new Calendar control and changing how it handled selection, to
accomplish this. Originally, I had just a Start calendar and an End calendar,
and figured the days between. That got a bit annoying.
I recently rewrote that page and, since we already have a license for the
set, I used a telerik r.a.d. calendar control. It allows multiple day selection.
When you place their calendar control, you add an attribute of "EnableMultiSelect=True"
to the object. It's worked like a champ, but it's unfortunate that it seems
the standard .net control is missing this.
David R. Longnecker
|Thread Tools||Search this Thread|