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

2 posts, 0 answers
  1. Andrea
    Andrea avatar
    2 posts
    Member since:
    Apr 2015

    Posted 09 Apr 2015 Link to this post

    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

  2. Andrea
    Andrea avatar
    2 posts
    Member since:
    Apr 2015

    Posted 09 Apr 2015 in reply to Andrea Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top