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

MonthView Appointments appearing over Date

3 Answers 23 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Kieron
Top achievements
Rank 1
Kieron asked on 18 May 2016, 11:04 AM

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?

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 20 May 2016, 09:50 AM
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.
0
Kieron
Top achievements
Rank 1
answered on 20 May 2016, 02:50 PM

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.

0
Yana
Telerik team
answered on 24 May 2016, 11:07 AM
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.
Tags
ScheduleView
Asked by
Kieron
Top achievements
Rank 1
Answers by
Yana
Telerik team
Kieron
Top achievements
Rank 1
Share this question
or