Home All Groups Group Topic Archive Search About

Calendar control - disabling past dates.

Author
14 Aug 2006 5:51 PM
Greg Smith
Is there a way to disable past dates for a calendar control, or individual
date for that matter?


Any help is greatly appreciated.

Author
16 Aug 2006 5:24 AM
Nathan Sokalski
I don't believe there is a way to "disable" them, but it is not hard to use
a CustomValidator to compare the SelectedDate to Date.Today, or it might
even be possible to do this using the CompareValidator (I would have to
check for CompareValidator). This is the best suggestion I have without
writing your own calendar control. Good Luck!
--
Nathan Sokalski
njsokal***@hotmail.com
http://www.nathansokalski.com/

Show quoteHide quote
"Greg Smith" <g**@umn.edu> wrote in message
news:eHLHzp8vGHA.724@TK2MSFTNGP05.phx.gbl...
> Is there a way to disable past dates for a calendar control, or individual
> date for that matter?
>
>
> Any help is greatly appreciated.
>