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

how to apply css to scheduler

Asked by Anonymous
6 years ago.

I am not able to apply per defined css like scheduler_8 even if the cssonly option is true for scheduler.I am using nuget package of daypilot version 5.0.303.0 and .net 4.0 framework.

kindly help

Answer posted by Dan Letecky [DayPilot]
6 years ago.

You should apply the theme using Theme property of the <DayPilot:DayPilotScheduler> tag like this:

<DayPilot:DayPilotScheduler
   Theme="scheduler_8"
   ...
/>

Please note that you need to include the theme stylesheet:

<link type="text/css" href='Themes/scheduler_8.css' rel="stylesheet" /> 

You can see a demo here (the source code of this demo page is in the download package):

http://www.daypilot.org/demo/lite/Scheduler/Theme8.aspx

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