How to execute client side JavaScript function whilst server processing request after user clicks on event blocks? [DayPilot Monthly Event Calendar]
4 years ago.
Hi,
Just wondering is it possible to fire JS code whilst a user request (i.e. "EventClickHandling='PostBack' ", "TimeRangeSelected='PostBack' ") is being processed by the backend server?
Sometimes when the server deals with function handlers, OnEventClick(), OnTimeRangeSelected() is takes a while to deal with the request. So is there any way I can execute a JS function (that displays a custom loading spinner with a please wait caption that informs the user the loading state of the application) before the response is made by the server?
If I can get any thoughts into this, that'd be great.
Many Thanks.
DayPilot