javascript - how to apply themes for devexpress scheduler -
i new devexpress,i trying implement asp.net mvc scheduler.i have defined scheduler like
@html.devexpress().scheduler( settings => { settings.name = "scheduler"; settings.callbackroutevalues = new { controller = "scheduler", action = "groupingpartial" }; settings.activeviewtype = schedulerviewtype.day; settings.start = new datetime(2010, 7, 13); settings.width = unit.percentage(100); settings.views.dayview.resourcesperpage = 2; settings.views.workweekview.resourcesperpage = 2; settings.views.weekview.resourcesperpage = 2; settings.views.monthview.resourcesperpage = 2; settings.views.timelineview.resourcesperpage = 2; settings.grouptype = (schedulergrouptype)session["grouptype"]; settings.storage.resources.assign(schedulerdemohelper.defaultresourcestorage); }).bind(model.appointments, model.resources).gethtml()
how apply theme scheduler?is there additional code added web.config file?
to apply theme, should perform following 2 actions:
- register stylesheet files required theme(s) want use in application(use extensionsfactory.renderstylesheets method register required theme stylesheet files.).
- to apply theme scheduller extension individually, use settingsbase.theme property (works both devexpress , standard asp.net theming approaches)
you can read detailed instruction on applying themes in following help-article: applying themes.
Comments
Post a Comment