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

How to display modal dialog after button click

Asked by kkp
10 years ago.

Hi,

I would like to know how to display modal dialog after button click.

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

If you mean DayPilot.Modal (http://code.daypilot.org/81367/daypilot-modal) and a generic ASP.NET button you can try this:


<asp:Button id="Button1" runat="server" OnClientClick="new DayPilot.Modal().showUrl('Modal.aspx');" Text="Click me" />

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