Question

I am making a web application and I want for when the user clicks a certain button for there to be a "pop up." Not really a pop up, but rather a little window in the browser is created and the rest of the screen is unable to be edited and is darker. Face book has such an effect, but I can't recall where. Also, this http://demo.atmail.org/ has that effect. How the login window is above the regular window and the regular window can not be touched.

What exactly is that effect called(so I can search for it!) and does C# have anything that can do that without hand coding the javascript?

Was it helpful?

Solution

That's part of the AJAX Control Toolkit, and it's called the ModalPopup control. Or something like it.

OTHER TIPS

That is called a modal popup. It's an AJAX feature and is not included in any library that comes with Visual Studio. However, the ASP.Net AJAX control toolkit can do it and jQuery can do it as well (as seen here.

A modal popup, typically done in a javascript library such as jQuery UI (look at the right-hand-side for the various demos)

Use a Modal Popup

Try the keyword "lightbox". I believe that's the effect you are looking for.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top