Questions tagged [sp.ui.modaldialog.showmodaldialog]

Displays a modal dialog with specified dialog options.

Filter by
Sorted by
Tagged with
1
vote
0answers
31 views

My close button is going out of the dialog box in sp modal dialog

My close button is going out of the dialog box. So can I change or align the position of button in SP UI Model Dialog?
0
votes
2answers
94 views

showModalDialog passed arguments not available on load

I have a page that is using SP.UI.ModalDialog.showModalDialog() to open a NewForm for a list. In the open code I'm passing some values in the args options property as described in this documentation. ...
1
vote
1answer
72 views

Show this modal popup once per session

I have implemented a modal popup in sharepoint 2016 from a tutorial on another site with this code: <script language="javascript" type="text/javascript" src="//ajax.googleapis.com/ajax/libs/...
0
votes
1answer
129 views

Prevent item form delete from redirecting

TL;DR I need a way to prevent the edit form dialog (iframe) from navigating the top window when I click delete on an edit form. I found this thread the answer given (also detailed in this blog post) ...
1
vote
0answers
51 views

Closing modal dialog, script error

Using jquery I'm opening a SharePoint page in a dialog, this works perfectly fine. Now on that page I have a button to submit a custom form and finally close the dialog again. While this works when ...
1
vote
1answer
692 views

Refresh publishing page on modal form submit in SharePoint Online

I have a publishing page with a button users can click to launch a new list item form in a modal pop-up. It works great but I'm trying to add a page refresh after they click Save so they can see their ...
0
votes
1answer
220 views

SP.UI.ModalDialog Not working

I would like to show SP.UI.ModalDialog until I process and bind the data to data table. Can any one please do let me know what's wrong in it. $(document).ready(function() { //alert("Hello World");...