I want to show the custom message like
if there are 7 appointments in a cell. And i set MonthView-VisibleAppointmentsPerDay=4. Then the message should be "3 more".
For this i used the below code.
sender, TimeSlotCreatedEventArgs e)
(e.TimeSlot.Appointments.Count > 4)
temp = e.TimeSlot.Appointments.Count - 4;
//radTeacherSchedulerAssignments.Localization.ShowMore = "+ " + temp + " more ...";
+ temp +
" more ..."
radTeacherSchedulerAssignments.Appointments[Convert.ToInt32(e.TimeSlot.Index)].Owner.MonthView.VisibleAppointmentsPerDay = 4;
it is showing as per my requirement. But the problem is same message for all cells which have extra appointments more than 4. It is taking last cell count which is having extra appointments more than 4.
cell 1 having 7 appointments
cell 3 having 6 appointments
then it is showing "2 more" message for both cells.