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

e.Appointment.Attributes.Add("style", "Background : #00FFFF !important ; ")

3 Answers 158 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
PureRamu
Top achievements
Rank 1
PureRamu asked on 24 Sep 2009, 12:56 PM

e.Appointment.Attributes.Add(

"style", "Background : #00FFFF !important ; ")

 


why the above code

in
rdScheduler_AppointmentCreated

 NOT making any cahnge in
how cani use this?

 

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Sep 2009, 02:19 PM
Hi,

Try setting CSS class for appointment in AppointmentDataBound event and see whether it is working fine. Checkout the following link for more information:
Setting styles for appointments

-Shinu.
0
Saleel Panthakkalakath
Top achievements
Rank 1
answered on 24 Sep 2009, 05:01 PM
sorry
0
PureRamu
Top achievements
Rank 1
answered on 24 Sep 2009, 05:05 PM
I have some limitation to specify the a css class.
becase the colour is determined by some condition in my apllication.
the colour may varry from #000000 to #FFFFFF
so i cant make that much of css calsses :(
so i should have to go for some dynamic way
Tags
Scheduler
Asked by
PureRamu
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Saleel Panthakkalakath
Top achievements
Rank 1
PureRamu
Top achievements
Rank 1
Share this question
or