Change Appointment Backcolor

2 posts, 0 answers
  1. Scott
    Scott avatar
    7 posts
    Member since:
    Apr 2012

    Posted 24 May 2012 Link to this post

    I am trying to show my appointments in the month view without any background color.  I have found the CSS to remove the background image/sprite and can change the foreground color.  I cannot get rid of the default background color.  Is there a way to do this or match the cell color?  I want to have the appointment text for each catagory in a different color, but no background color or image.  Skin is set to Office2007.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 24 May 2012 Link to this post

    Hi Scott,

    The following should be enough to remove the appointments background color and borders.
    protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
       {
           e.Appointment.BackColor = System.Drawing.Color.Transparent;
       }

    The above code will automatically set AppointmentStyleMode="Simple" for RadScheduler which will remove the appointment's borders.  

    Regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top