rookie
rookie

Reputation: 401

Pop up window in asp.net

I have a send message button and on clicking that I open a website in a new page which has a panel and has few labels and a send button inside the panel. I want to make that panel a pop up on the same window and the source page should be in the background blurred. how to make a pop up in the same window. Please help

Upvotes: 1

Views: 3312

Answers (3)

Andrew
Andrew

Reputation: 419

I have been using the Pretty Photo library lately and have been happy with how it looks and how simple it is to setup. Support for iFrames makes it easy to load in a separate page in the popup.

Upvotes: 1

mnsr
mnsr

Reputation: 12437

For that you need to use jquery and ajax.

Jquery UI has a dialog box which you can use for this task. There's also jquery tools by Flowplayer which is another good one.

I've personally used this without any problems in the past. It's pretty easy to use. It allows you to open a separate page inside the modal popup.

Upvotes: 1

Curtis
Curtis

Reputation: 103338

I would recommend looking into the ASP.NET AJAX Control Toolkit Modal Popup Extender:

http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/modalpopup/modalpopup.aspx

Using this control, you can transform a regular Panel, so that it appears as a Popup on top of your other content.


Alternatively, jQuery offers a simple modal plugin:

http://www.ericmmartin.com/projects/simplemodal/

Upvotes: 2

Related Questions