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

91 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
2answers
91 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 ...
2
votes
0answers
154 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
153 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
852 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
128 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
90 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 ...
2
votes
1answer
645 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
2answers
74 views

Display template: modal dialog not working with .onclick()

I'm trying to get a SP.UI.ModalDialog to work if a user clicks on a link on a site collection. I'm implementing the code in my item display template. Unfortunately, clicking on the link does not pop ...
1
vote
0answers
86 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
70 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
94 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
193 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
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
2answers
422 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 ...
1
vote
0answers
52 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
97 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
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-...
1
vote
0answers
650 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
323 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
88 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
1answer
874 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 ...
1
vote
0answers
532 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
187 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
2answers
1k 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?
1
vote
0answers
147 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
1answer
86 views

Return value from modal dialog (application page) to toolpart

I have a Webpart with an ToolPart. In this ToolPart I open an ModalDialog displaying a List. When pressing Submit-Button or something like this, in the ModalDialog, I want to return a String to the ...
1
vote
1answer
248 views

collection has not been initialized after dialog modal closes

I have two JS scripts on my SharePoint 2010 page, one in the master page, one in a forms web part (I've attempted this with a CEWP as well). Both are in unique name spaces (My.Tabs and My.Registration)...
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
1answer
120 views

Opening dialog box in 2010 CSS font changes

I've had this issue all along with my 2010 Foundation intranet site I maintain, and am wondering what I can do to resolve it. Here is the situation it arises in: I open a dialog box within sharepoint,...
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
588 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
218 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
264 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
254 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
118 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
90 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
1answer
326 views

Drop off Library - Display Forms in a Dialog Disabled now Router Message displays as Dialog Box

When using the Content Organizer site feature I have a content type that uses a custom field that doesn't render very well in side the Modal Dialog box. So I have disabled this function on the Drop ...
1
vote
0answers
774 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
305 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. ...
1
vote
2answers
1k 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
0answers
9 views

SPFX open newform in modal

I'm new in SPFX and i'm trying to open a new form from a button. I'm testing IFrameDialog but it doesn't display it(https://sharepoint.github.io/sp-dev-fx-controls-react/controls/IFrameDialog/) I've ...
0
votes
2answers
26 views

SharePoint 2016 modal popup undefined error

Platform: SharePoint 2016 I am trying to use SharePoint's pop-up modal in SharePoint 2016 but it worked once and after a few minutes it stopped. I get the following error 'OpenPopUpPageWithTitle' is ...
0
votes
0answers
16 views

SPO BS4 using Modal

I have added to my site script editor web part for modern pages built in React. I am trying to use this web part to customize a page using BS4,i have added in the editor a BS modal. After adding the ...
0
votes
0answers
36 views

Canceling Modal Dialog, not able to open the Dialog box again

I have a modal Dialog Box confirmation and it works fine if I click Ok. However, when I click cancel (lets say a user changes their mind) and decides a couple minutes later to activate the modal, ...
0
votes
1answer
28 views

Create a new folder with custom content type id using custom action

I am adding a custom ribbon button which needs to create a folder with specific content type id in a document library. CommandAction="javascript:{ var options = { ...
0
votes
1answer
62 views

Disable Fabric UI JS Dialog Auto-Refresh

I am using the Fabric UI JS components on a SharePoint 2016 project (not using React or SharePoint Framework) and having issues with the dialog box buttons refreshing the page upon click. Reviewing ...
0
votes
1answer
35 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 ...