How to display Modal Box when we resizing the event?
When I applying Javascript to EventResizeHandling and calling a function OnEventResize, then its showing errors.
And I want to show the updated values in the box after resizing the event.
My code is :
EventResizeHandling="Javascript"
OnEventResize="eventResize(e);"
function eventResize(e)
{
var modal1 = dialog();
modal.showUrl("Edit.aspx?id=" + e.value() + "&hash=<%= PageHash %>");
}
function dialog() {
var modal = new DayPilot.Modal();
modal.onClosed = function (args) {
window.console && console.log(args);
if(args.result == "OK") {
dps1.commandCallBack('refresh');
}
dps1.clearSelection();
};
return modal;
}