Hi.
Trying to create a custom template for event editing using SchedulerEditableSettingsBuilder.TemplateName method but template seems to be ignored no matter what folder I put the template in.
page source:
@(Html.Kendo().Scheduler<Models.ScheduledTest>() .Name("scheduler") .AllDaySlot(false) .CurrentTimeMarker(true) .Date(new DateTime(2013, 6, 13)) .StartTime(new DateTime(2013, 6, 13, 10, 00, 00)) .EndTime(new DateTime(2013, 6, 13, 23, 00, 00)) .Editable(editable => { editable.TemplateName("TestEditorTemplate"); }) .EventTemplateId("test-template") .Height(600) .Views(views => { views.DayView(); views.WeekView(weekView => weekView.Selected(true)); views.MonthView(); }) .DataSource(d => d .Events(e => e.Error("onError")) .Model(m => { m.Id(f => f.TestId); }) .Read("Read", "Calendar") .Create("Create", "Calendar") .Destroy("Destroy", "Calendar") .Update("Update", "Calendar") ))
~/Pages/EditorTemplates/TestEditorTemplate.cshtml
@model Models.ScheduledTest@using (Html.BeginForm()){ <div class="k-edit-label"> @(Html.LabelFor(model => model.Title)) </div> <div data-container-for="title" class="k-edit-field"> @(Html.TextBoxFor(model => model.Title, new { @class = "k-textbox", data_bind = "value:title" })) </div>}
But the template is not detected and default template is used.
Should I put the template in a different path, or is there a way to help the component detect the template?
