Hi there
I’m using the ultraCalendarCombo control and want to disable a couple of dates. For instance, the dates should not be clickable and marked grey.
On the other hand, available dates should be marked bold. Is there any chance to bind a list of allowed dates?
Cheers
Frank Uray
Hello,
In order to achieve your goal you should set UltrCalendarInfo for CalendarInfo property of UltraCalendarCombo, then to disable a day of year you should set:
ultraCalendarInfo1.DaysOfYear[month,day].Enabled = false;
Please let me know if you have any further questions.
Thanks for your answer.I was wondering how am I able to disable all dates? I could loop through all possible dates, I reckon there could be a nicer way to solve that.
Also, how can I precise the year? For instance, the 2011/09/30 should not be available but 2012/09/30 should.
Thanks and best regardsFrank Uray