When Adding a schedule item,a popup is opening but when opening popup i want to restrict popup based on css class name of clicked scheduled item
how to get css class name of clicked scheduled item
Sourcecode:
@(Html.Kendo().Scheduler<FMCO.DataTransferObjects.Configuration.AppointmentModel>()
.Name("scheduler")
.Date(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day))
.StartTime(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 08, 00, 00))
.EndTime(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 17, 00, 00))
.Editable(editable => editable.TemplateName("CustomEditorTemplate"))
.EventTemplate("")
.Events(e => e.Add("onAdd"))
)
<script>
function onAdd(e) {
// i want here css class name of click item
}
</script>
Please help me
Thanks in advance