Hello
I have some trouble to apply a theme for the schelduler.
I want to apply the "Moonlight" theme for the "Schelduler selection" that can be currently selected in the Kendo webpage Demos.
I choose the theme but the code of the Kendo UI web page doesn't change.
Cf : http://demos.telerik.com/kendo-ui/web/scheduler/selection.html
I use Kendo UI 2013.3.1511 and Razor engine.
Here is my code :
I have some trouble to apply a theme for the schelduler.
I want to apply the "Moonlight" theme for the "Schelduler selection" that can be currently selected in the Kendo webpage Demos.
I choose the theme but the code of the Kendo UI web page doesn't change.
Cf : http://demos.telerik.com/kendo-ui/web/scheduler/selection.html
I use Kendo UI 2013.3.1511 and Razor engine.
Here is my code :
@(Html.Kendo().Scheduler<iMail.Web.Models.TaskViewModel>()
.Name(
"scheduler"
)
.Date(DateTime.Now)
.StartTime(
new
DateTime(2013, 6, 13, 7, 00, 00))
.Height(600)
.Views(views =>
{
views.DayView();
views.WeekView();
views.MonthView();
views.AgendaView(agenda => agenda.Selected(
true
));
})
.Selectable(
true
)
.Timezone(
"Etc/UTC"
)
.Editable(editable => {
editable.TemplateName(
"_EditorTemplatePartial"
);
})
.DataSource(d => d
.Model(m => {
m.Id(f => f.TaskID);
m.Field(f => f.Title).DefaultValue(
"No title"
);
m.RecurrenceId(f => f.RecurrenceID);
})
.Events(e => e.Error(
"error_handler"
))
.Read(
"TasksRead"
,
"Dashboard"
)
.Create(
"Tasks_Create"
,
"Dashboard"
)
.Destroy(
"Tasks_Destroy"
,
"Dashboard"
)
.Update(
"Tasks_Update"
,
"Dashboard"
)
)
)