Reputation: 1727
I'm trying to pop up an ASP.NET page using the modal popup AJAX control in ASP but in vain.
Can anyone guide me how to do that using AJAX tool kit, and if it can't be done as the modal pop up only pops up panels, how can I pop up a new ASP.NET page?
Upvotes: 0
Views: 468
Reputation: 473
You can use the OnClientClick in your server control like this:
<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="window.open('Popup.aspx',null,'height=250, width=250,status= no, resizable= no, scrollbars=no, toolbar=no,location=no,menubar=no ');" />
For "AJAX" type of modal popup, can you give more details about your problem?
Upvotes: 0