Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calendar control

Status
Not open for further replies.

buxtonicer1

Programmer
Sep 20, 2006
82
GB
I'm using the control as part of a reservation system. When the control loads I want dates in the past disabled.
How is this achieved ?
 
Capture the date selection events and if it is in the past, cancel the event - or reset the selected date to the previous date.

the other option would be to write your own custom control that works like the calendar but you can customize it more. This is somewhat re-inventing the wheel though so try the first option first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top