views:

64

answers:

2

I am working on a ASP.NET website that needs popups in a modal window similar to JS confirm and alert. How would I do this on client and/or server side?

A: 

Are you using any specific library? Many popular libraries have this built in or available as plugins

jQuery

dijit.dialog (Dojo)

MochaUI (Mootools)

Justin Johnson
No, I am not using a library
Are you not using a library *yet* or are you unable to use a library at all. I would suggest that you look into one to help mitigate cross-browser compatibility issues.
Justin Johnson
I am unable to the library. Is ajax modal control a good fit?
A: 

Anything like this..

windowHandle = window.open("*.html", ID, "modal,toolbar=false,location=false,directories=false,status=false,menubar=false,scrollbars=no,resizable=no);

windowHandle.focus();

Ashish