onDayRender for multimonth calendar

2 posts, 0 answers
  1. Peter
    Peter avatar
    10 posts
    Member since:
    Jul 2008

    Posted 21 Jul 2008 Link to this post

    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.




  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 24 Jul 2008 Link to this post

    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.
Back to Top