By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,636 Members | 1,941 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,636 IT Pros & Developers. It's quick & easy.

display MonthCalendar selectable dates

P: n/a
Is there a way to have the non-selectable dates (those before MinDate and
after MaxDate) draw differently so my users can see right away what dates
aren't allowed? I'm not seeing it...

Otherwise, anyone know of a cheap 3rd party calendar control I could use
that would provide that ability?

Thanks,
Rachel
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I’d suggest setting those dates that can be selectable as bolded dates with
AddBoldedDate() and a call to UpdateBoldedDates() when you’ve added them all.

Brendan
"Rachel Suddeth" wrote:
Is there a way to have the non-selectable dates (those before MinDate and
after MaxDate) draw differently so my users can see right away what dates
aren't allowed? I'm not seeing it...

Otherwise, anyone know of a cheap 3rd party calendar control I could use
that would provide that ability?

Thanks,
Rachel

Nov 17 '05 #2

P: n/a
Hmmm... it's a good idea, and it would be fine if I knew the allowable dates
would span no more than a few months. But what I have is a pop-up form that
contains a MonthCalendar, and this will be used in many different places
throught the application (like DatePicker, but DatePicker doesn't do things
as we want.) In some cases, that means every date on the entire calendar
would have to be added to the BoldedDates (if MinDate and MaxDate were left
at default values.) A very common scenario is that all dates before today
(or from today forward) are allowed. I think it's really necessary to treat
them as ranges, not as a collection of dates.

Well, maybe if I just bolded those allowable dates that currently showed...
and did AddBoldedDates as necessary when the visible month changed... I
supposed there must be a way to know when that happens.

-Rachel

"Brendan Grant" <gr****@NOSPAMdahat.com> wrote in message
news:54**********************************@microsof t.com...
I'd suggest setting those dates that can be selectable as bolded dates with AddBoldedDate() and a call to UpdateBoldedDates() when you've added them all.
Brendan
"Rachel Suddeth" wrote:
Is there a way to have the non-selectable dates (those before MinDate and after MaxDate) draw differently so my users can see right away what dates aren't allowed? I'm not seeing it...

Otherwise, anyone know of a cheap 3rd party calendar control I could use
that would provide that ability?

Thanks,
Rachel

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.