Scheduler event diseapear after resize/move
9 years ago.
Hi,
I test the new version (8.2.3519.1) to upgrade but I have a difference with an older one (6.7.2431.0) :
When I try to resize an event and if myCondition is not satisfied, the scheduler's events diseapear after the EventResize handler call.
It was not the same with the older version : the scheduler don't change if nothing append in the resize handler call.
____________
EventResizeHandling="CallBack"
OnEventResize="DayPilotScheduler1_EventResize"
____________
protected void DayPilotScheduler1_EventResize (object sender, DayPilot.Web.Ui.Events.EventResizeEventArgs e){
if (myCondition)
{
// update the database
DbUpdateEvent(e.Id, e.NewStart, e.NewEnd);
// reload events and refresh the scheduler on the client side
DayPilotScheduler1.DataSource = LoadData(); // your method
DayPilotScheduler1.DataBind();
DayPilotScheduler1.UpdateWithMessage("Event resized.");
}
}
____________
And the events rendering by default with the older version seems like to be "Progressive Event Rendering".
Now, the events rendering seems like to be dynamic but I have no "loading label" instead before.
LoadingLabelVisible="true".
No "DynamicEventRendering" or "DynamicLoading" properties defined.
- Did I miss something ? Do I have to reload the entire scheduler ?
- is there somewhere in the documentation the call order of the render handler ?
Best regards
DayPilot