onAutoRefresh(args)
Fired before AutoRefresh is requested from the server side.
Applies to DayPilot Pro for ASP.NET WebForms, MVC, and Java.
dp.onAutoRefresh = function(args) { if (dirty) { args.preventDefault(); } };