Hi,
Is it possible to disable the date (user not able to select the date) of given Holiday dates in WinGanttView? or if user selected the Holiday then need to give message that Selected Date range having Holiday or Sunday. How to do it?
Thanks for your reply.
I used your below code
Infragistics.Win.UltraWinSchedule.Day day = this.dayView.CalendarInfo.GetDay( someDate, true );day.Enabled = false;
but its not working, still i can able to select the Holiday date. How to disable the date?
Dates can be disabled by getting a reference to a Day object for the date you want to disable and then setting its Enabled property to false:
Note that in cases where large numbers of dates are to be disabled, you should consider using the GetWeek/GetMonth/GetYear methods instead, which will yield better performance.