Hello,
I am not very happy with the month view of the new scheduler.
1. The month view does not show the full month. It shows only 5 weeks. This is not what a user expects when a month view is shown.
Here is an example code on how to set the weekcount to the correct value:
// Calculate the necessary weekcount for a month
int weekcount = 5; // Default is 5
// Specialcase with 6 weeks
if ( ( ( NewStartDate.DayOfWeek == DayOfWeek.Saturday ) &&
( DateTime.DaysInMonth( NewStartDate.Year , NewStartDate.Month ) == 31 ) ) ||
( ( NewStartDate.DayOfWeek == DayOfWeek.Sunday ) &&
( DateTime.DaysInMonth( NewStartDate.Year , NewStartDate.Month ) >= 30 ) ) )
weekcount = 6;
// Specialcase with 4 weeks
if ( ( NewStartDate.Month == 2 ) &&
( NewStartDate.DayOfWeek == DayOfWeek.Monday ) &&
( !DateTime.IsLeapYear( NewStartDate.Year ) ) )
weekcount = 4;
This code works fine when the first day of a week is monday. The NewStartDate is a DateTime value and contains the first day of the month to calculate the weekcount e.g. 01/05/2010.
2. The same problem has the new navigator stepping when the step type is month. It adds just 5 weeks for every month, which is not correct.
3. When i navigate in the month view i would expect that the first day of the month is in the first row of the displayed month. This is not the case with the radscheduler.
4. In the month view the last row of the month has not the same height as the other rows in the month. This does not look very good.
5. When a day has more appointments than the number of appointments which can be displayed in the month view then there is no visual feedback for the user that there are more appointments for this day.
6. When i click on a day of the month view and then on the week view or day view of the navigator i would expect that the scheduler shows the day or week of the clicked day. This is not the case for the radscheduler.
Kind Regards,
Ramius