More in this section
Forums / Developing with Sitefinity / RadScheduler Appointment colors

RadScheduler Appointment colors

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. fg
    fg avatar
    1 posts
    02 May 2011
    23 Nov 2011
    Link to this post

    For Rad Scheduler Appointment colors i wrote like this

     protected void RadSchedulerCalendarEvents_AppointmentDataBound(object sender, SchedulerEventArgs e)
            Color appColor = Color.FromName(Session["AppointmentColor"].ToString());  //Color.FromName("#000000");
            e.Appointment.BackColor = appColor;
            e.Appointment.BorderColor = appColor;

    but when i change RadScheduler  view Appointment color is missing
    How can i solve this problem

  2. Veronica
    Veronica avatar
    125 posts
    30 Jan 2015
    23 Nov 2011
    Link to this post
    Hi Fg,

    The AppointmentDataBound is the right event to change the appointment's color. Also not applying the color on change of the RadScheduler view is unexpected behavior. You can see this demo for an example.

    I am wondering whether by some reason the Session is lost on changing the views and that's why the color is not set. But in order to say what is the cause of the issue - could you please send me your code so I can inspect it and help you?

    Thank you!

    All the best,
    Veronica Milcheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered