Hi,
I currently have a scheduler setup that is loaded within a template.
The problem is if I try to add a EventTemplateId to the scheduler within the template with the fluent interface, it will break because the prefixed hash is not escaped. Normally this is not a problem but it's my understanding that within templates if using Ids for selectors the hash needs to be escaped
I've attached a screenshot of the error I receive in the console that should hopefully make things clearer.
Please let me know if i can help any further
Thanks
Thomas
Here is how my scheduler is configured
01.@(Html.Kendo().Scheduler<TelerikScheduleViewModel>()02. .Name("staffAvailability")03. .Height(300)04. .HtmlAttributes(new { data_bind = "bindDate:start, filterBy:Staff, visible:Staff.length" })05. .Timezone("Europe/London")06. .Mobile(MobileMode.Auto)07. .MajorTick(120)08. .Editable(false)09. .ShowWorkHours(true)10. .Footer(false)11. .AutoBind(false)12. .Views(views =>13. {14. views.TimelineView(timeline =>15. {16. timeline.Footer(false);17. timeline.Groups(group => group.Resources("StaffResources").Orientation(SchedulerGroupOrientation.Vertical));18. timeline.EventTemplateId("some-event-template");19. });20. 21. })22. .DataSource(dataSource => dataSource23. .ServerOperation(false)24. .Events(e => e.Change("staffOnChange").RequestStart("staffRequestStart"))25. .Read(read => read.Action("ListStaffSessions", "Calendar").Data("getStaffAttendance"))26. ).Events(e => e.DataBound("dataBoundAttendanceControl").DataBinding("dataBindingAttendanceControl"))27. )