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

Event Color customizing issue

Asked by nok
11 years ago.

Hi,

i set CssClassPrefix="calendar_blue" and CssOnly="true"
and im trying event color looks difference when they have each other class name.

so what i did is...

i made some classes,(name is color01~20),
and i used before eventrender like this.

protected void dpMon_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Month.BeforeEventRenderEventArgs e)
{
e.CssClass = "color03";
}
(same way as calendar control)

but result is like capture file i attached
there is more div tag in div tag i added class name using BeforeEventRender.

i guess it is because i use CssOnly="true" but it is not :( just like same when i set false this

is this way wrong?
what is the best way to customizing event class?(i want to customize not only background but also font color, font size)

please let me advise
thank you!

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