This is a migrated thread and some comments may be shown as answers.

RadScheduler has a strange behavior in week view when appointment covers multiple days

1 Answer 19 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Andrea
Top achievements
Rank 1
Andrea asked on 09 Apr 2015, 08:57 AM

Hello,
My problem is that an appointment that covers multiple days is not displayed correctly in Week View (see WeekView.PNG) while it is displayed correctly in the Monthly View (see MonthView.PNG).
As you can see the appointment does not cover the entire box, does not cover all days for his duration and more is moved to the right. The code in both cases is the same.
For more information I have inspected the item and there is a margin-left which, I believe, has no reason to be there. Also witdh calculated element is obviously wrong (see InspectElement.PNG).
I tried everything, but nothing.
Many thanks for the support.

Andrea

1 Answer, 1 is accepted

Sort by
0
Andrea
Top achievements
Rank 1
answered on 09 Apr 2015, 03:29 PM
I finally solved: the problem was that I use for appointments a custom template (AppointmentTemplate). The custom template was like:
<AppointmentTemplate>
<table>
</ table>
</ AppointmentTemplate>

For reasons obscure to me the problem was the use of the table tag; I replaced table tag with div tag and now everything is fine.
Thanks anyway for your help, greetings.

Andrea
Tags
Scheduler
Asked by
Andrea
Top achievements
Rank 1
Answers by
Andrea
Top achievements
Rank 1
Share this question
or