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

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
465 views

Open SharePoint Modern library in modal dialog not adhering to ms-dialogHidden or IsDlg=1

Question regarding Modern Libraries, I wish to open document libraries in a Modal Dialog on a page but have only the library shown, not the Office 365 Suiter bar and left nav. I used the standard SP....
1
vote
1answer
35 views

SP2013: Intercept Modal Window to Set a Height

I have a list webpart on a custom page, and I have the Open in Dialog enabled. How would I go about intercepting the standard SP modal call in order to pass a height value? My modal window is way ...
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-...
2
votes
0answers
115 views

SharePoint Modal Survey close redirect to another site

I am trying to display a modal survey question from the home page of my site. I have that working, what I am looking for is how to upon click of the finish button redirect to a tableau site. I do ...
2
votes
0answers
127 views

Maximize button missing from form dialog boxes on SharePoint 2013 (patched up to 8/18/2017)

I posted in an older post but am concerned the information might be outdated so I wanted to create a new question. I'm using the following script in hopes to add the maximize button back to every ...
2
votes
0answers
674 views

Launch forms in dialog - SharePoint Online/Modern Lists

I have been trying to manoeuvre my way around the new Modern lists in SharePoint. I have set Launch Forms In Dialog to YES however the form for the list does not open in a modal or dialog. It does ...
2
votes
0answers
125 views

Browse and select document library files through a Modal Dialog

I have a page which should link documents from a document library as hyperlinks in the page, so that a user can click on the hyperlink and view it. For this purpose,I need to add functionality to add ...
2
votes
0answers
79 views

Special character in SP.UI.ModalDialog option “Title” ignored/not accepted

I have a question regarding my ModalDialog. There is an option called title: options.title = 'Benutzer wählen'; Now if I display the dialog: var dlg = SP.UI.ModalDialog.showModalDialog(options); ...
2
votes
0answers
2k views

How to disable background scrolling while modal dialog is open?

On Sharepoint 2010, when a dialog pops up, users are able to scroll in the background. This affects the user experience, particulary on devices. I have researched a lot into solving this, and ...
1
vote
0answers
38 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
0answers
48 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
0answers
77 views

How run custom actions for list on subsite

I made new solution for custom actions run by on custom ribon. Code from eventreciver: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPWeb web = properties....
1
vote
0answers
140 views

How to implement ModalDialog.showWaitScreenWithNoClose in Sharepoint Online using CEWP in custom list?

I am new to Sharepoint developing/web development and I am trying to create a "loading..." box to occur until the page is finished. I want to use the Sharepoint modal dialog that is already available ...
1
vote
0answers
48 views

Javascript - Modal to appear every day for 10 days

I have a modal which needs to popup once a day for 10 days - the images must appear in sequence. The modal hold an image which needs to change every day and loop over that 10 day period. I have a ...
1
vote
0answers
92 views

Print in Modal View for SPS2013 List does prints blank page apart from content

Print in modal view, prints blank pages too I have added a HTML code to enable print in modal view for SharePoint 2013 Lists. Print command works and give you the option to print. However all the ...
1
vote
0answers
478 views

Why getElementsByTagName() return an empty collection?

I'm using javascript inside the console of Firefox and this method does not work as well as 'getElementsByClassName()'. I specifically added class attribute to my tags in order to access. Could ...
1
vote
0answers
312 views

Modal popup send values to parent window for dialog opened using SP.UI.ModalDialog.ShowPopupDialog(url)

Sharepoint promoted links webpart open in dialog opens the popup using SP.UI.ModalDialog.ShowPopupDialog(url). I am closing the pop using SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult....
1
vote
0answers
85 views

How to send back form results to the Script Editor Web Part which displays the modal dialog

This relates to SharePoint 2013 Online. On my home page I have a SEWP which determines if currentUser has registered some details we need. If not then open a ModalDialog window displaying a form to ...
1
vote
0answers
512 views

Why does my Sharepoint app modal dialog gets access denied error when using razor, but works fine when I use an aspx page

I am attempting to open the iframe in my sharepoint provider hosted app as a modal using a MVC razor view. When I open the app I get a 0x80070005 - JavaScript runtime error: Access is denied. in sp.ui....
1
vote
0answers
173 views

commonModalDialogClose not firing on chrome

I have the next script on my page Parent function triggerModal(b,a) { // if the url contains mysite - open it in showModalDialog if (a.toLowerCase().search("person.aspx")>0 || a....
1
vote
0answers
131 views

SPLongOperation window on the end redirects in itself

I have a small issue with SPLongOperation, basically what i'm doing i have something to happen in "OnPreLoad" method ... In this method i start a long processing operation and i call SPLongOperation, ...
1
vote
0answers
134 views

How can I have a list item from another host name site collection open in a modal dialog and function properly

Good Afternoon. I am using a Content search web part to pull list information from a different site collection and provide the results in a modal pop up. I have been able to accomplish displaying the ...
1
vote
0answers
121 views

White rectangle background when i scroll SharePoint Modal Dialogbox

I'm facing a strange issue. Couldn't find the solution for this on the internet. I'm using a SP.UI.ModalDialog.showModalDialog in a SharePoint web part. Issue: When this dialog box is displayed and ...
1
vote
0answers
1k views

Submit form to page when opened by SP.UI.ModalDialog.showModalDialog

I am trying to open a SharePoint aspx file in the layouts folder in a dialog box. This file is designed to be opened in a dialog box so I dont need '?IsDlg=1' The issue is that the page loads ...
1
vote
0answers
571 views

Sharepoint 2013 - External List view/edit item in modal dialog

I have an External List, reading from a WCF. When I open an item (view item), I want it to open in a modal dialog. The External Data Source has 'read item' and 'read list' set up from WCF services. ...
1
vote
0answers
214 views

Font changes within Announcement list - modal view

relatively easy question I have here and was hoping someone could help me out. I have tried to find the particular classes to update the standard SharePoint font (8pt, Verdana) within the body of an ...
1
vote
0answers
135 views

Problem with List New Form and Edit Form modal dialog configuration

I created a List Definitions,with two content Type and custom NewForm. Now I want to disable modal window only for Display Form. The property NavigateForFormsPages="TRUE" disable all modal dialogs ...
1
vote
0answers
261 views

Change Close-Button Link when opening Link from Modal in new tab/window

So, this is my scenario: In SharePoint 2010, I have a custom List ("events") with multiple lookup-fields to other lists (for this example: "contact persons", "location") in it. I got two list-views, ...
1
vote
0answers
252 views

SP.UI.ModalDialog close method returns home.aspx

I have 4 webparts on home page. on maximizing any webpart opens a SharePoint modal popup. While closing that modal popup SP.UI.ModalDialog close method returns home.aspx in ajax call. And it takes 20 ...
1
vote
0answers
115 views

a modal dialog that it's url has been copied not working properly

I've got a modal dialog with an upload control in it which is working with no problems. but when i try to copy the modal dialog's url (right click -> properties) and paste it in another ...
1
vote
0answers
88 views

add new object not opened in a modal dialog

After installing Cumulative updates (August 2012 - only SharePoint server) now when you click "add new object" link to add new object to a lists on all pages (except document libraries) the NewForm ...
1
vote
0answers
769 views

Modal Dialog Delegate Event not firing

I have a modal dialog that I call from my sender page: function openCommentsDialog( ITEMID) { var DropDownListValue = document.getElementById("HideVal").value; var options = SP.UI.$...
1
vote
0answers
304 views

Disable Modal Dialogs from XSLTListView

i need to disable some modal dialogs for the form display in a listview. At the list settings I have disabled the modal dialog (NavigateForFormsPages="TRUE"). For the items of the list it works fine. ...
0
votes
0answers
14 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
0answers
24 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....
0
votes
0answers
44 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=...
0
votes
0answers
48 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
35 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 ...
0
votes
0answers
361 views

SharePoint Modal dialog page is empty

I have tried creating a modal dialog in a SharePoint Hosted APP using this script but I am getting an empty page in the resulting modal dialog. <script type="text/javascript"> var ...
0
votes
0answers
385 views

Modal Dialog doesn't work with Community Site Discussion

I am trying to add a button to a page showing a community site discussion that launches a modal dialog showing the page with the discussion and all replies but when I click the button the modal dialog ...
0
votes
0answers
19 views

Custom form reloads in multiserver load balanced farm

I have my Web Application deployed in 2-3 environments and now it is deployed in production environment but it giving us a problem. Wherever there is modal dialog, it keeps reloading intermittently. ...
0
votes
0answers
337 views

Overrding the closing button on a list form modal dialog

I have a custom list form that opens within a dialog. What I need to do is the following: Override the closing button (X) by prompting the current user to see if they want navigate away from the page ...
0
votes
0answers
32 views

Dialog to dispaly items with own style

I have a Sharepoint-hosted app. The app is a survey page were users answer questions and hit a save button to send the answers to a sharepoint list. After that they going to the list and want to ...
0
votes
0answers
446 views

Modal Dialog to pass parameter to child

I've set up a list with a Parent Child relationship. When the Parent is edited and save button pressed ther modal dialog opens the child list. When the child is saved the parent is saved also. The ...
0
votes
0answers
748 views

Modal window over object problem

I have a problem with displaying modal window of .pdf files in a HTML WebPart. I have HTML WebPart where I've placed a button (which invokes popup modal window, a file upload, for example) and a pdf ...
0
votes
0answers
761 views

SharePoint Modal Dialog Box not launching when on live server

I have an aspx page, which contains a file upload control, which has an onClientClick method which triggers a javascript method to pop out a modal window informing the user to wait: <table style="...
0
votes
0answers
55 views

Add content to Web Part from Modal

I'm showing a button, when editing the web part, so the user can click and a modal popups up. This modal should have a couple of option, doesn't matter now, but then I want to save the content so that ...
0
votes
0answers
1k views

Modal dialog for document library

First of all, my question. How do I make a working modal dialog popup for a document library, that shows details about that document upon clicking the document name in the library list? Please note ...
0
votes
0answers
855 views

Dialog boxes that are cut off, any easy fixes for them?

On several dialog boxes such as the "add document" dialog in SharePoint we are encountering a situation where the dialog is too small to see the "Submit" buttons in the dialog. While end user ...