Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sp.ui.modaldialog.showmodaldialog]

Displays a modal dialog with specified dialog options.

0
votes
2answers
74 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
30 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
87 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
36 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
272 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
0answers
54 views

SP.UI.ModalDialog suddenly undefined

We are following this blog post to popup some info pop ups and some dialogs using code like this: var options = { title: "Are you sure?", url:'<site>/Pages/dialogs/' + __dialogName + '....
0
votes
0answers
45 views

Want to show Listitem display form in modal popup in Tiles webpart Hover in sharepoint 2013

I have a requirement like Want to override the Default Tiles Webpart(Promoted Links Webpart) Hover and show the modal popup in Tiles webpart Hover in sharepoint 2013.How could we achieve this ...
0
votes
1answer
155 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");...