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

Change Appointment Backcolor

1 Answer 69 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 24 May 2012, 06:14 PM
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.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 24 May 2012, 09:52 PM
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.
Tags
Scheduler
Asked by
Scott
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or