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

Is it possible to display a Daypilot modal dialog form from the code behind of a web form?

Asked by mrplatypus
3 years ago.

Hi Dan and Team,

Is it possible to display a daypilot modal dialog from the code behind of a web form?

If so, please advise how..

Thanks & Regards

Dave

Answer posted by Dan Letecky [DayPilot]
3 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):

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

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