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
0
votes
1 answer

Compiler error E2029 '.' expected but ';' found

I get compiler error "[DCC Error] FormMain.pas(78): E2029 '.' expected but ';' found" but I cant see where to problem is because I copied this directly from http://blog.marcocantu.com/blog/xe5_anonymous_showmodal_android.html I use this kind of…
user3146414
  • 89
  • 2
  • 6
0
votes
1 answer

Is it possible to open a sharepoint page as a modal dialog from an app part hosted in Sharepoint

I am calling below function 'Dialog' on button click from an app part on a sharepoint page but getting access denied error may be due to iframe's DOM access restriction. Is there any way around or another approach for opening a sharepoint page from…
AnkitG
  • 46
  • 4
0
votes
4 answers

How to close dialog opened by showModalDialog?

I tried this but failed: var win = showModalDialog('http://localhost/index.php'); win.close();
Mask
  • 33,129
  • 48
  • 101
  • 125
0
votes
1 answer

dynamics crm. launch dialog process wizard from javascript issue

I'm doing everything as said in this article http://ankit.inkeysolutions.com/2012/01/crm-2011-how-to-launch-dialog-on-click.html, but the issue is that if I use window.showModalDialog(url); then I can see the following window is open: and if I…
0
votes
0 answers

window.showModalDialog - Browser annoyances

Testing the showModalDialog method of the window element, I noticed that Firefox ignores the 'center' & 'resizable' options, although the documentation states that these options are supported. Chrome is also ignoring the 'resizable' option, with…
NeilC
  • 1,380
  • 1
  • 17
  • 36
0
votes
2 answers

How to create a dialog at runtime and get a return value?

I want to create a dialog from current form class, and expect to get back a value from the dialog. This is sample coding. with TFormClass(FindClass('Tf_dialog_partner')).Create(Application) do try ShowModal; Value := DialogPublicVar; …
Artisan
  • 4,042
  • 13
  • 37
  • 61
0
votes
1 answer

WebDriver open rich:popupPanel

We are testing an application with Selenium WebDriver. HTMLUnitDriver is our choice (because of non-gui-testing) and sometimes IEDriver for Presentationpurposes. Anyway, i try to perform a click on a button, this one has to open an…
goya
  • 165
  • 1
  • 7
0
votes
0 answers

stop the flow of program like window.showModalDialog using javascript

We have a big enterprise application that use window.showModalDialog to display modal windows. We used them at lots of places to show dialog messages and child forms. Now we want to support all the browsers, because in Chrome window.showModalDialog…
daljit
  • 1,256
  • 1
  • 11
  • 30
0
votes
3 answers

How to present modal view in "parentViewController"?

I'm trying to write iPad app. I have UIViewController as parentViewController (full screen) for masterView and detailView (my handmade splitView). Also I have a separate view (for example moreDetailView) with class and xib, which I would like to…
Romowski
  • 1,518
  • 5
  • 25
  • 50
0
votes
2 answers

Remove/disable scrollbars from dialog box - Firefox

I am opening a dialog box with custom width and height using the following code. window.showModalDialog(" & _"'" & dlgURL & "',window,'dialogWidth:" & width & "px;dialogHeight:" & height & "px;overflow:auto;scrollbars:no;center:yes');" The problem…
Cyril
  • 1,216
  • 3
  • 19
  • 40
0
votes
1 answer

Powershell to automate web site testing with modal dialog

Working on a quick Powershell script to use the IE object to enter values and submit a web page with a modal dialog. I want to be able to invoke the modal dialog, check some boxes on the dialog, and then close it and return to the page. I can invoke…
dr3x
  • 917
  • 2
  • 14
  • 26
0
votes
1 answer

window.opener not working in IE8-9

I followed this article Pass value from child window to parent window. It is working perfect in Firefox and chrome, but gives error in IE8 and IE9. To open the child page I am…
user1808827
  • 345
  • 2
  • 5
  • 11
0
votes
1 answer

bringing focus to the parent window from a child window launched via showmodaldialog

I have a scenario like this. Window 1->opens->modal popup->opens-> window 2. Modal popup is launched using showmodaldialog method from window 1. From the modal popup a normal window (window 2) is launched using "window.open" method. On launching the…
urpandian
  • 15
  • 1
  • 5
0
votes
1 answer

Return value of modaldialog after postback

I have a popup window, which will search for items from a grid. It returns value to the parent page, when a row is selected directly. But if i search the grid by button click and select a row, the parent page receives undefined object, although the…
JaseemAmeer
  • 107
  • 2
  • 15
0
votes
1 answer

Using showModalDialog and then wanting to be able to select text from resulting dialog box

I am using window.showModalDialog('../common/poe_details.jsp','self','dialogHeight:450px;dialogWidth:900px;status=0;scroll=yes'); in my application. Now the problem is that i could not select text from resulting showModalDialog. And i want to select…
seeker
  • 79
  • 2
  • 16
1 2 3
9
10