I use asp.net mvc with database first entity framework.
I implemented scheduler with fully custom eventbox to load details from database. I also use external kendo window instead of scheduler inbuilt lightbox. I have a external OK button (Not the save button from lightbox) in the kendo window.
I initiate the Kendo window onclicking the scheduler using this function:
scheduler.attachEvent("onClick", function (id, ev) {
var a = scheduler.getEvent(id).ID;
scheduler.showLightbox(id, a);
})
scheduler.showLightbox = function (id, sharappid) {
var dialog = $("#ApptWindow").data("kendoWindow");
dialog.center();
dialog.open();
});
I face two issue in this:
- Binding the Eventbox immediately after inserting the record to the database.
So I used the below lines of code onclicking the ok button.
scheduler. clearAll ();
scheduler.load("Scheduler/Data/" + param, "json");
- Now I need to implement Signal R for live updates.The above loading of eventbox is disturbing the entire scheduler whenever a customer creates a record as the scheduler executes the twolines of code everytime.