I have a situation where I have an MVC3 application that is being loaded in a modeless dialog (showModelessDialog(url, args, params)). After I submit the form loaded in the application, I would like to close the modeless dialog box from the mvc controller. Does anyone know of a way to do this?
So far I have found and tried the following
- returning View("Close") where a Close.cshtml view with window.close() called onbody onload, this also opens and closes a new window.
Gracias de antemano.
preguntado el 08 de noviembre de 11 a las 19:11