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

onDayRender for multimonth calendar

1 Answer 73 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 21 Jul 2008, 09:45 AM
Hi guys,
We are using your RadCalendar to create a daterange selector in one of our web applications. I wanted to create the events clientside based on the dayrender example in your demos.
Now i can't seem to get that same thing running for a multimonthview.
Isn't this possible? the navigateToDate is not working?

Is there another function which i could possibly use that causes the calendar to render? I need to give the cells another background-color after clicking 2 dates (fill the selected range).
with just a single calender i even had to trick the calendar to render by actually navigate to another month and then navigate back to the current month.




1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 24 Jul 2008, 07:52 AM
Hi Peter,

In order to use the Multi-Month mode of RadCalendar, please insure that you have set its AutoPostBack property to true. Otherwise the calendar won't change its view.

In this case I suggest that you use the DayRender server-side event of RadCalendar to customize the desired days.

Find more information about RadCalendar in the following online resources:
http://www.telerik.com/help/aspnet-ajax/calendar_radcalendarmultiviewmode.html
http://www.telerik.com/help/aspnet-ajax/calendar_serversidedayrender.html

Let us know if any questions arise.

Regards,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Peter
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or