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

88 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
2answers
71 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
135 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
138 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
748 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
1answer
531 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....
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
83 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
2answers
42 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
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
0answers
58 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
86 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
157 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
280 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
49 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
94 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
527 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
314 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
87 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
516 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
180 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
139 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
84 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
579 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
215 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
116 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
89 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
324 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
772 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
1answer
26 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
0answers
47 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
26 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
1answer
26 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 ...
0
votes
0answers
37 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
1answer
66 views

Calendar Overlay Modal mode

I have looked through quite a few posts and questions on the site here which suggest that I can insert code into a CEWP to open calendar items "Modally" instead of opening in a new page. The issue ...
0
votes
1answer
98 views

cannot bind to Sharepoint Modal Button with jQuery

I am attempting to bind to the file attachment OK button which has an id of c100_PlaceHolderMain_btnOK. I've tried $('#ct100_PlaceHolderMain_btnOK').click(function() { }); and $(document).on('...
0
votes
1answer
143 views

how to target Sharepoint 2013 Modal OK Button click event immediately AFTER button click not after file upload finishes?

I am using the SP file attachment modal to attach files to list items and I am having an issue with trying to target the OK button click event. I know I can use the dialog callback once it finishes,...
0
votes
1answer
407 views

SP 2013 Custom form and embedding attach file dialog in a modal(No Sharepoint Designer)

I have a custom form where users have an option to upload attachments to a list item. This works without issue, however, I would prefer if I could use ASP in the HTML to embed the SP attach file ...