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

Moving date in RadCalendarView

3 Answers 52 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dan
Top achievements
Rank 1
Dan asked on 16 Dec 2015, 09:27 PM

RadCalendarView displays the date for each box in the upper right corner.

Is there a way to move the date to the upper left corner?

Thank You!

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 21 Dec 2015, 09:21 AM
Hi Dan,

Thank you for your question.

Yes, there is a way. Here it is:

calendarView.getAdapter().setDateTextPosition(CalendarElement.TOP | CalendarElement.LEFT);

I hope this helps.

Regards,
Todor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Dan
Top achievements
Rank 1
answered on 21 Dec 2015, 02:51 PM

Thank you so much for that. Can I ask a follow on question?

The inline events in the monthly calendar overlap the date in the cell since it is now on the opposite side. I don't a setter for inline event position and padding.

How can I shift the calendar events to the right side and set the padding to not overlap the date?

Thanks again!

0
Todor
Telerik team
answered on 23 Dec 2015, 02:44 PM
Hi Dan,

This behavior in not coming out-of-the-box. If you want to display events inside the calendar cells on a custom position, you will need to provide custom event rendering. Have a look at this thread which contains a sample of custom event renderer.

Regards,
Todor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Calendar
Asked by
Dan
Top achievements
Rank 1
Answers by
Todor
Telerik team
Dan
Top achievements
Rank 1
Share this question
or