Answer posted by Dan Letecky [DayPilot] 10 years ago.
The only way to open the modal dialog from the server side is to run the required js code using RegisterStartupScript() method. This technique is used by the Util.Modal class that comes with the modal dialog (it calls parent.DayPilot.ModalStatic.close() on the client side to close the modal dialog):