showmodaldialog

ASP.NET validation not executing in a JavaScript showModalDialog call

I currently open a pop up window from my parent page using using a JavaScript .showModalDialog function. The pop up window contains some ASP.NET validation controls which do not display when the user clicks the ASP.NET button to submit the form. If there is an error on the page, the validation message(s) do not display, the record is n...

does showModalDialog interfere with ClientScript.RegisterStartupScript?

I'm showing a modal dialog via "window.showModalDialog(..." which happens in a vbscript function (the page shown is aspx). I'd like to do some resizing of the window based on the number of rows in a datatable that's coming back. So naturally I go to register a startup script that resizes the window based on the number of rows. Well, that...

Issue with window.showModalDialog and overflow:auto in IE7

Here's the issue. I open up a popup using window.showModalDialog in IE7. The popup is a page with a and some filter dropdowns, etc. and a result set at the bottom with is wrapped in a div that uses: overflow:auto. The first time we open up the popup the default resultset dsiplays just fine. But when I click retrieve (to post the form ...

What's different when a page is opened by window.showModalDialog?

Anyone knows the difference? The problem I met is that the page stops working correctly when opened by window.showModalDialog ...

How to close dialog opened by showModalDialog?

I tried this but failed: var win = showModalDialog('http://localhost/index.php'); win.close(); ...

Javascript error when attempting to open a modal window in a modal window

The application is running on a windows server 2003 box using asp.net 2.0 and is an IE specific web app. There is a button that opens a form in an iframe using showModalDialog(...) from a function call located in the javascript. Here is an example of the fucntion: function ShowBusinessHoursSubForm( source ) { var retval = wind...

new window from a window.showModalDialogue() opens another modal window

I have this button which opens up a window.showModalDialogue window. This works smooth n all browsers. The problem is if i have a window.open() inside the page showModalDialogue as a Modal window instead of a independednt window. /*===========================================*/ /*open window using ShowModalDialogue in page*/ /*==========...

Understanding the showModalDialog

I have a shopping cart page where my 'Pay By Credit Card' button fires a popup: window.showModalDialog(ccPaymentURL, null, "dialogwidth: 450px; dialogheight: 370px; center: yes; resizable: yes"); The URL loaded into this popup (an SSL page that sits in a different domain) collects the CC info, processes the charges and (via a webservic...

showModalDialog causes path problems for IE

My master page loads script files like: <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script> Elsewhere I have a function that pops up a modal dialog box using this masterpage in the form: function openCreateUserPopup(URL) { page = window.showModalDialog(URL, 'UserEditor', "dialogwidth: 450px; dialogheight: 370p...

Delphi - detecting if my app has a modal dialog open

I have a Delphi 2006 app that pops up a modal alert dialog when an error condition is detected. As the check for the error condition is done in an idle handler, the dialog can pop up over the top of another modal dialog if that one happens to be displayed. This can lead to a confusing situation for the user where the application main f...

ASP.NET cross domain modal window (window.showModalDialog) - parameter value always "undefined".

Hi, I have two webpages, parent page .aspx and child page .html. On parent page I have JavaScript function for invoking child page as modal window via window.showModalDialog. function viewCourseModal(url) { var sPars = SomeParameters(); var returnedValue = window.showModalDialog(url, "", sPars); document.getElementById("modalReadyForT...

window.showModalDialog opening second window, how to stop it?

I can't find the answer to my question in Miscrosofts documentation, on how to disable this feature. The setup is that I have a browser open, that invokes the window.showModalDialog. After the user enters input in the popup window and submits. A new window is opened from the pop-up. I do not want the results from the original pop-up to...

window.returnValue not working between two applications

I'm opening a web page from Site B, using showModalDialogue (javascript) from Site A. I want to return a value using window.returnValue from Site B page to Site A page. But I'm not able to return value between these two applications (both in the same IIS server). How do I can pass value in this scenario? ...