search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Refresh Gantt command

Asked by Anonymous
2 years ago.

Hey! i am using ajax on my master page and after that the gantt chart refresh stopped working on modal close, i use Modal.Close(this, "OK") but it still does not refresh the gantt chart if i remove AJAX from the master page then everything works well

Answer posted by Dan Letecky [DayPilot]
2 years ago.

The Modal.Close() method uses a workaround to return the control back to the client side. Older versions may not work well - please make sure that you use the latest version of the ASP.NET WebForms helper from here:

https://code.daypilot.org/81367/daypilot-modal

If possible, I would recommend implementing the modal on the client side only using DayPilot.Modal.form() instead. That would be much more reliable solution.

See also:
https://code.daypilot.org/60913/javascript-scheduler-edit-multiple-fields-modal-dialog

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.