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

How to Apply my own Css Class for Appointment Div to show in different color based on my requirement

2 Answers 66 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Vishnu Vardhan Reddy
Top achievements
Rank 2
Vishnu Vardhan Reddy asked on 08 Jan 2012, 04:55 PM
Hello,
Unable to apply my own css class to Appointments.
i created one Css class like 
.TaskView
{
Background-image:"~/Tak.png",
BackColor:#cfcfcf
}
and i tried to apply like bellow

if(e.Appointment.Type="Task")
{
e.Appointment.CssClass="TaskView";
}
Rad Scheduler default Css Class ovveriting my custom css.How i can create my custom Css for Appoinment.Please update me asap

Thanks And Regards
N.Vishnu Vardhan Reddy

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Jan 2012, 12:58 PM
Hi Vishnu,

The best way to style the appointments is to set their BackColor property in AppointmentDataBound as shown in this help topic.


Kind 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
0
Vishnu Vardhan Reddy
Top achievements
Rank 2
answered on 10 Jan 2012, 06:14 AM
Thx a lot

Thanks And Regards

N.Vishnu Vardhan Reddy
Tags
Scheduler
Asked by
Vishnu Vardhan Reddy
Top achievements
Rank 2
Answers by
Peter
Telerik team
Vishnu Vardhan Reddy
Top achievements
Rank 2
Share this question
or