3 Answers, 1 is accepted
The first requirement cannot be accomplished without extensive javascript coding or overwriting RadScheduler's rendering. The reason for this is that the appointment's width is set dynamically via javascript in percents (90% for a single appointment in a time slot, 45% for two appointments in a time slot and the second one with left:45%, etc.) So it would be difficult to calculate the width and left attribute for each appointment since it will vary based on the total number of appointments for a give slot. If you know for sure that you will have only one appointment per time slot, then you can just overwrite the css style like this:
.rsApt
{
width
:
98%
!important
;
}
Greetings,
Peter
the Telerik team
Can you tell me why this code give me an appointment width of 0% in monthly view? I'm not using any CSS.
Thanks.
<
telerik:RadScheduler
runat
=
"server"
ID
=
"rsSchedule"
DataSourceID
=
"odsScheduleItems"
DataKeyField
=
"ScheduleItemID"
DataStartField
=
"ScheduleItemStartDate"
DataEndField
=
"ScheduleItemEndDate"
DataSubjectField
=
"ScheduleItemSubject"
SelectedView
=
"MonthView"
AppointmentStyleMode
=
"Auto"
>
</
telerik:RadScheduler
>
This code is not enough to determine the cause of the problem. Please, elaborate on your implementation and if possible send us a live url for testing.
Regards,
Peter
the Telerik team