4 Answers, 1 is accepted
if (e.TimeSlot.Appointments.Count > 3)
int temp = e.TimeSlot.Appointments.Count - 3;
Label lb = new Label();
lb.Text = temp.ToString() + "more..";
lb.CssClass = "raju";
radTeacherSchedulerAssignments.Appointments[Convert.ToInt32(e.TimeSlot.Index)].Owner.MonthView.VisibleAppointmentsPerDay = 3;
How to show it in month view
Here is one way to achieve this in MonthView:
Hope this will be helpful.
the Telerik team
Does this only work for MonthView?
I tried to add a label to a timeslot in the week view and got a runtime error that e.TimeSlot.Control is null.
I am trying to display a label on all the timeslot that spells what time is it (for example 9:15am). This is to make the slot look like a button that the users can click on. It is easier for users to know what slot they are booking. Just blank spaces are a bit confusing for normal folks.
Here is the code that worked correctly at my side in Day and weekView:
Hope this will help you solve the issue.