Questions tagged [showmodaldialog]

A deprecated way for creating and displaying a modal dialog box containing a specified HTML document.

From the MDN :

The Window.showModalDialog() creates and displays a modal dialog box containing a specified HTML document.

Deprecated

This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

144 questions
4
votes
3 answers

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…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
4
votes
1 answer

Modal Dialog in WPF

Here is my problem: I am migrating an application from Windows Forms to WPF, but I am totally new in WPF technology. I have been lucky creating a ribbon also have been able to add some elements to it, but right now I am struggling to create a modal…
Dante
  • 3,208
  • 9
  • 38
  • 56
3
votes
1 answer

Modal View using UIModalPresentationFormSheet appears offscreen

I have a UIViewController that implements - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOrientation ==…
Julie
  • 195
  • 1
  • 7
3
votes
1 answer

Unable to download from modal dialog, window.showModalDialog

I am not able to download a file from a aspx page if aspx page is opened in a modal popup using window.showModalDialog(). I have an image button on aspx page, on click of it a Excel file has been generated by using some business logic and then I add…
Vinod T. Patil
  • 2,951
  • 3
  • 26
  • 21
3
votes
1 answer

showModalDialog deprecated Chrome37, other suggestions?

Does anyone have any viable suggestions for the replacement of the showModalDialog() functionality in Chrome 37? I understand that there is the path until May 2015, but that's not 'viable' in my opinion, and if I can avoid changing everything to…
Nick G
  • 1,209
  • 8
  • 34
  • 58
3
votes
1 answer

How to close showModalDialog in FireFox,Chrome in javascript

var userChoice = showModalDialog("../Iframe.aspx?FormName=sample.aspx", window, "dialogTop:300px;dialogLeft:350px;dialogHeight:182px;dialogWidth:370px;help:no;scroll:no;status:no;"); alert(userChoice); /* here iam not able to get 'Y' */ …
chinna373
  • 51
  • 2
  • 4
2
votes
1 answer

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. …
Michael Kniskern
  • 24,792
  • 68
  • 164
  • 231
2
votes
2 answers

window.showModalDialog and postback button

I have two pages A.aspx and B.aspx Page A.aspx opens B.aspx as modal popup by javascript function window.showModalDialog("B.aspx"); Page B.aspx has two text boxes (Login, Password), control and button click event in server code. Problem…
ihorko
  • 6,855
  • 25
  • 77
  • 116
2
votes
1 answer

Close a specific modalDialog in R shiny

I have a a scenario in my app that matches the situation in the dummy app below. What my real app does is show checkboxes in a dropdownmenu coming from a dropdownButton for every column available in a dataframe for the user to pick from for a model…
Mark
  • 2,789
  • 1
  • 26
  • 66
2
votes
1 answer

showModelessDialog opens the document in ie8 mode

Open the HTML dialog from the HTA application using showModelessDialog/showModalDialog. The HTA application is running in mode ie11 (tag ), but the dialog opened always runs in mode ie8. The tag…
2
votes
3 answers

angular multiple $mdDialog

I work with modal tabs and I have notification pop-up window which is always shown to user when he logs into my application. It contains all events which happends when user was offline. Problem is when i click on any objects from list it close my…
Martin
  • 455
  • 1
  • 11
  • 34
2
votes
0 answers

Access window.showmodaldialog via c# WebBrowser

Background I have a really old website (IE 5 kind of old) in our organization that we have to do some tiresome work on it every morning (around 100 mouse clicks, and you have to start over if you make a mistake). The users copy some existing excel…
user1708860
  • 1,683
  • 13
  • 32
2
votes
1 answer

How to replace showModalDialog when value is being returned

I have a opener window that is currently using showModalDialog. This needs to be replaced because its deprecated. The modal dialog window has a window.returnvalue. As a result, I am unable to simply use Window.Open to replace showModalDialog. Is…
2
votes
1 answer

How to stop 'window.showModalDialog' opening second window?

In Microsoft's documentation I can't find the answer to my question 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…
Nick
  • 257
  • 1
  • 2
  • 5
2
votes
1 answer

Pass parameters to Mscrm.CrmDialog

I use Mscrm.CrmDialog to show a new dialog with a webresource in MS Dynamics CRM 2013. The advantage of this method is that this dialog works in Firefox, Chrome, etc. too and window.showModalDialog doesn't because it is deprecated. Anyway I need to…
Peter
  • 369
  • 2
  • 5
  • 18
1
2
3
9 10