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 [modal-dialog]

In user interface design, a modal dialog is a child window that requires users to interact with it before they can return to operating the parent application

0
votes
0answers
11 views

Is it possible to open a modal dialog box with in an Infopath form published to SharePoint Online

I have created a pretty large InfoPath form, the problem is I cannot use the form to gather a vote during a meeting since you cannot collaborate in the InfoPath form. I want to have a button on my ...
0
votes
2answers
37 views

How to pass and capture query string parameter to newform in modal dialog?

My modal dialog for newform is not capturing the query string value I'm trying to pass to it. Alert on main page confirms the qs value for XID is set correctly. var xid = GetUrlKeyValue("ID", ...
0
votes
0answers
22 views

Not able to open document in Client Application in IE Edge Sharepoint 2016

we are using following code to CLose modal popup and navigate user to open Document in SharePoint 2016 OnPremise. Context.Response.Write(String.Format("<script type='text/javascript'>window....
1
vote
1answer
1k views

Override Modal Dialog Box CSS in SharePoint

I would like to override Modal Dialog Box CSS in SharePoint 2013.I using Below CSS in the Content Editor Web part of the Particular list Newform.aspx.But Its not overriding existing CSS. iframe .ms-...
0
votes
3answers
4k views

SPO 2013 - Open calendar items in a modal dialog

We are using O365/Sharepoint Online 2013. We are using the Sharepoint Calendar as a lightweight general event reminder. We would like to have items opening in a modal dialog instead of a new page. I ...
3
votes
2answers
40 views

IsDlg=1 causes no content to be displayed in dialog

We are having a problem that has apparently been an issue for a while on all of our SP 2013 sites. Any dialog marked with IsDlg=1 shows no content at all whatsoever. Meaning a thin white dialog is ...
4
votes
3answers
2k views

Custom .aspx as modal dialog not working: 'SP' is undefined

SharePoint 2013 server... I have created a custom aspx page for use as a modal dialog. I want this pop up to collect field values and return them to the form the pop up was called from. The pop up ...
0
votes
1answer
616 views

Refresh parent page after calendar event creation

I have created a new page with a default calendar webpart. Below is what I'm doing. Click New Event and the popup gets opened Fill-in the event details Click Save and the event gets saved Calendar ...
0
votes
2answers
659 views

Open SharePoint form in dialog box on button click

I need to open a SharePoint form from an image button but in a modal dialog box. Is that possible? Thanks in advance
3
votes
1answer
641 views

making an SP.UI print dialog

I'm thinking of adding a print button to my list ribbon , the minute I click on this button a print dialog appears showing the list of the available printers on my computer. so this printdialog i was ...
2
votes
1answer
93 views

Using TypeScript global variable with SharePoint functions

Using TypeScript and Angular, I have created a function named getTasks() that I want to fire when a modal is closed. This is the function: getTasks() { this.http.get(`https://example.com/_api/web/...
0
votes
2answers
779 views

SharePoint Online: Display form (Newform.aspx/Upload.aspx) instead of Pop up dialog for uploading documents in a document library

My current environment is SharePoint Online. I want to customize (Newform.aspx/Upload.aspx) for a document library and want to show user a customized form instead of popup dialog after uploading ...
0
votes
2answers
1k views

Easiest way to design a wizard-style modal dialog?

I would like to learn about what options I have if I want to design a modal dialog with a wizard that can call custom back-end C# code (I've never done front-end SP development). There seem to be ...
0
votes
1answer
713 views

Save Modal Dialog Field Value to Refresh Page DIV

I found a couple great functions that allow me to programmatically call up a modal edit form, and they work very well. What I'm looking for is a way to update a div on the calling page with the ...
0
votes
1answer
759 views

Sharepoint 2013 Modal Dialog title

I'm using SharePoint 2013 When I open view/edit item in a list the modal window displays the 'list title' and the 'item title' at the top of the window Is there a way to change the 'item title' in ...
0
votes
1answer
915 views

ModalDialog // change title when dialog openned

I open popup modal dialog with something like this: openInDialog: function (dlgWidth, dlgHeight, dlgAllowMaximize, dlgShowClose, needCallbackFunction, pageUrl) { var options = { autoSize: ...
2
votes
1answer
821 views

Sharepoint dialog open event

I have an initiation form for my workflow. The form uses a people/user picker. This picker opens a dialog, in that dialog the div in which list of people appears comes with a small height in Internet ...
0
votes
1answer
856 views

How to show a modal dialog without master page content?

I am migrating a sharepoint solution from Sharepoint 2010 to 2013, and so far everything works, but I'm stuck at one specific problem. In some lists, the user has the possibility to open an editor for ...
0
votes
1answer
912 views

Modal Dialogue Behavior On Close

I'm using a modal dialogue to display list data formatted by DataTables. Within the table are links to another modal dialog to edit items in the first modal dialog's table. I'm turning on the save ...
0
votes
2answers
967 views

SP.UI.ModalDialog Namespace or Reference

Is there any server side reference for SP.UI.ModalDialog? What is the reference for SP.UI.ModalDialog for client side? How i reference this in webpart?
0
votes
2answers
1k views

Uncaught TypeError: Cannot read property 'cancelPopUp' of null in sharepoint hosted app

I referred the following link https://alinimer.wordpress.com/2013/02/25/open-pages-and-forms-in-modal-dialog-for-sharepoint-2013 to create a modal pop up . I am able to create a pop up for the new ...
0
votes
1answer
987 views

How to download SP.UI.Dialog.js?

I have got same Modal Dialog on Sharepoint 2010. If I tried to migrate to Sharepoint 2013 I must download SP.UI.Dialog.js How Could I do it ?
2
votes
2answers
1k views

Pop Up On Load SharePoint 2013

I am trying to get a modal to appear when the site loads. I created a site page called Disclaimer.aspx and stored it in the Site Pages document library. I created a text document called popup.txt ...
0
votes
4answers
2k views

How to remove s4-ribbonrow from modal-dialog without having any access to masterpage or SharePoint Designer 2013

I'm challenging myself for a few hours now attempting to remove the s4-ribbonrow from a modal dialog window (as marked in my screenshot). I found several solutions on the web, which all require ...
1
vote
1answer
45 views

SP.UI.ModalDialog works only in Edit mode

I have a custom list in SharePoint 2013 with cascading drop downs for City and State fields. Due to the size of the lookup list, it takes a few seconds to fully load. During this time, it shows some ...
1
vote
1answer
39 views

Open dialog/modal from another modal (DispForm.aspx)

I have a code that opens any DispForm.aspx link into a modal dialog. The item has a link to another DispForm.aspx -- is it possible to open this on another modal? I tried inserting the following code ...
3
votes
1answer
570 views

Getting “This content cannot be displayed in a frame” on all dialog forms

Environment: SharePoint Server 2010 We have a web application, in which there is only 1 site collection with few subsites in it. The problem is all the modal dialog forms when opened get error ...
2
votes
1answer
7k views

SharePoint 2013 - open a modal dialog form by clicking an image on the page

I would like to open up a user form in a pop-up window by clicking on an image in the page. I have tried adding code to the source editor, but it just gets stripped. There is much talk of SP.UI....
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 ...
3
votes
1answer
674 views

Popup confirmation on 'status' column change

I'm looking to create a popup dialogue box when a column called 'Status' is set to 'Complete'. I want a popup box to ask "Confirm Complete?" with Yes or Cancel choices. Obviously Yes will update the ...
0
votes
1answer
58 views

Open hyperlink in modal dialog on sitepage

I'm having trouble opening hyperlinks in modal dialog on a sitepage. My list contains a column with hyperlinks. I have tried everything, but can't seem to make it work. On the actual page of the ...
1
vote
2answers
174 views

InfoPath 2010 form text wrap issue on my SharePoint site

So I have an InfoPath 2010 form with a multi-line textbox that won't wrap text in Firefox or Chrome the text just continues on the same line. On IE, the text wraps properly. I've published this ...
2
votes
2answers
195 views

100% width for image in modal dialog

I want the image in my modal dialog to be width:100%, but do not know how to do it. I'm using this code (thank you Mohamed El-Qassas): <script> function openDialog(pageUrl) { var options = { ...
0
votes
2answers
63 views

Color picker dialogue box not sizing correctly

Note: I am using a custom masterpage. Problem: When I use the color picker to change some font color and select "more colors…", the modal dialogue box that comes up is too small and has scroll bars. (...
1
vote
1answer
1k views

Refresh parent page after closing list item dialog

I'm trying to refresh the parent page of a list when closing the dialog of a list item. Is there a way to achieve this with javascript somehow? I inspected the button in the DOM and tried to write a ...
1
vote
2answers
459 views

Control redirect on saving new Document Set with NewDocSet.aspx

Does anyone have any experience with controlling the redirect when creating a new document set with NewDocSet.aspx? Our client would like the ability to create a new document set and be returned to a ...
1
vote
0answers
41 views

Parent/Child List: go back to Modal Parent dispform after child form submit/save

My need is very close to something already treated like this topic but the solutions doesn not seems to work on Modal/Dialog forms. In my context, I have a parent list ("projects") and a child list ("...
1
vote
1answer
58 views

How to remove all handlers from dialog's close button?

When any user clicks the close (X) button of the list edit form, I want to prevent closing it and to show an additional submission dialog. For this purpose I tried to remove all event handlers from ...
4
votes
3answers
10k views

How to modify width of standard dialog form sharepoint 2010

Please, help me! I need to modify width of standard dialog form for adding element into library. If I click to ribbon button for adding element, form opened with width=402px: <div class="ms-...
0
votes
1answer
19 views

How to show search result hyperlinks in Modal dialog

Can anyone help me with issue about opening search result hyperlinks in modal dialog page. In default every pages are opening in separate html page. Im aiming to same dialog as is used in list ...
1
vote
0answers
44 views

Execute DialogResult.OK After Form Submission [closed]

I have a question regarding Nintex Forms 2013. I'm opening the new item form using SP Modal Dialog, after clicking submit I want to run the below line. SP.UI.ModalDialog.commonModalDialogClose(SP.UI....
0
votes
0answers
40 views

SharePoint Online - Attach Modal Dialog to Button Div

I am trying to work out how to attach a modal dialog to a Button Div in SharePoint Online Script Editor Webpart. Modal Code Originally I had this code to open a Modal Dialog: <a class="xxx" style=...
1
vote
1answer
2k views

SharePont 2013 Lightbox for Picture Library

Anyone who can help implement the lightbox plugin to a sharepoint picture library. Thanks in advance.
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
0answers
33 views

Map Marker Modal Dialog to List Item

I am using the below string of code to display an InfoWindow (bubble) for a map marker. I have a "Details" link that opens the list item associated with the map marker in a new tab. Ideally I want ...
6
votes
4answers
12k views

Detect if modal dialog box

Is there a way to detect using sp.js or jquery to detect if the current context is in a modal dialog box? Im not sure I explained that right, so here is a situation: We have a branded system master ...
0
votes
2answers
757 views

Why does SharePoint 2013 modal add “?IsDlg=1” to querystring

I am trying to create a modal that generates off of a link. When the link is clicked, the modal pops-up but I get the error, "An unexpected error has occurred". When I dive deeper, I find out that ...
0
votes
1answer
84 views

Open modal dialog using javascript stripped from code

Sorry for the Newbie question, but I don't see a relevant answer in searching. I have a SP Online site with a sub-site for Human Resources (HR). I created a custom list for employee feedback for ...
2
votes
1answer
241 views

How to change state in webpart.tsx from wepart.ts property pane - SPFx

I am trying to add a button to my property pane that will pop up a modal where the user will be able to enter in an image to be displayed on my banner webpart which is just an image carousel. I ...
1
vote
1answer
104 views

Calculated column with hyperlink to open items in modal works only on the 1st page of list view

In SharePoint 2013 I have a Site page with list view web part that contains calculated column. In this column the following function is executed to be able to open items in modal: $(document).ready(...