search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to limit Number of months in shedular

Asked by Anonymous
11 years ago.

Hi,

I am implementing daypilot shedular control in my asp.net application. But it display data from January to December. How do i retrict the shedular to show data up to specific moth
e.g. How do i implement if i want to display data from January to April only
in the datasource field i have use following code.

DayPilotScheduler1.StartDate = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1);
DayPilotScheduler1.Days = DateTime.DaysInMonth(DateTime.Today.Year, DateTime.Today.Month);

Please share your thoughts regarding

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.