search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to change Event Font Color dinamically

Asked by Didier Rodríguez
13 years ago.
I need change the event font color dinamically for some events, I can do it for Event BackColor, How can I do this for event font color? this is my code: protected void DayPilotCalendar1_BeforeEventRender(object sender, BeforeEventRenderEventArgs e) { if (Int32.Parse(e.Tag[3].ToString()) == 1) e.BackgroundColor = '#eeeeee'; else e.BackgroundColor = "#ffffff"; }
Comment posted by Dan Letecky
13 years ago.

You shoud use e.InnerHTML property and wrap the event text in a div with style or class attribute defined.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.