MonthView Appointments appearing over Date

4 posts, 0 answers
  1. Kieron
    Kieron avatar
    16 posts
    Member since:
    Nov 2013

    Posted 18 May Link to this post

    I'm getting something weird happen everytime I switch to Month View (picture attached).

    All the appointments - it doesn't matter when they are scheduled - seem to appear over the date that they are scheduled for, rather than inside the actual calendar slot.  It doesn't seem to matter what time they are scheduled for.  If I add more appointments to the same day - they appear below one another (so that's working ok) - its just the first appointment appears over the actual date.

    All the appointments seem to be display fine in Day View (Horizontal) and Week View (Vertical) view and also Timeline View - so I don't understand what I've done to make it happen like this - any thoughts on what to check?

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 20 May Link to this post

    Hello Kieron,

    I guess the issue is related to some custom Styles applied to the Appointment. Please check for any additional Margins/Paddings inside the AppointmentStyleSelector,  there is a separate Style for the appointments inside MonthViewDefinition - MonthViewStyle.


    Regards,
    Yana
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Kieron
    Kieron avatar
    16 posts
    Member since:
    Nov 2013

    Posted 20 May Link to this post

    Hi,

    I figured it out - it wasn't the AppointmentStyleSelector - that was what was puzzling me because that looked OK.  It was the GroupHeaderStyleSelector - I had a custom selector but had not specified the seperate styles for vertical or month view (as my original spec was to only show day view - in horizontal format).  As soon as I added the custom styles for vertical and month view it sorted itself out!

    I'm defining the GroupHeaderStyleSelector primarily to get rid of the highlight style that gets applied to todays date - although I have seen this can be done with a custom TimeRulerStyleSelector aswell - is there a recommended approach to achieve this - or does it not matter?

    Thanks.

  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 24 May Link to this post

    Hi Kieron,

    I'm glad to hear you've managed to resolve the issue.  GroupHeaders and TimeRulerItems are different types of elements, you could take a look at the following topics for more details on them:
    Styling the TimeRulerItems
    Styling the GroupHeaders

    Which element exactly you'd like to modify, can you send us a screenshot?

    Regards,
    Yana
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top