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

learn more… | top users | synonyms

5
votes
2answers
11k views

JavaScript: How to reuse the “Working on it…” pop in

Sharepoint 2013: In have custom JavaScript code that makes Ajax calls. While loading I'd like to show Sharepoint's loading pop in: That is the one that greys out the underlying page and centers a ...
0
votes
3answers
1k views

How to display a page in Modal popup in SharePoint Online (Office 365)

ExecuteOrDelayUntilScriptLoaded(yourFunction, 'sp.js'); function yourFunction() { var options = { url: 'https://mywebsite.sharepoint.com/MyApp/Pages/Default.aspx', title: '...
1
vote
2answers
40 views

How to Open/Close a Sharepoint modal dialog using HTML instead of URL

I'm trying to open or close a SharePoint Modal Dialog. The dialog opens one time, but it doesn't open in the second time, I just get a weird title only box. Also I cannot figure out how to close the ...
6
votes
4answers
9k views

Possible to close a Modal Dialog from code behind?

I am popping up a Custom Application Page using a call to SP.UI.ModalDialog.showModalDialog. Is there a way that I can close the dialog from the code behind after a user clicks a button?
1
vote
1answer
64 views

How to use SP.UI.ModalDialog on plain old HTML page

I have a plain HTML page (not aspx) that is hosted in my Sharepoint site Assets. Below is the source. <!doctype html> <html> <body> <button type=button onclick="openDialog()"&...
0
votes
2answers
22 views

Upload document dialog box trimmed

For a particular document library in SP 2013 when i try to upload documents, the dialog box to enter the properties is hidden/trimmed. What can be the issue?
0
votes
1answer
22 views

Show up modal in navbar

I have a navbar where I want to show a modal if I click into one item's Title. So now I show my navbar in JS menupopulator like this: function completeMenu(data, target) { var prefix = "<ul ...
0
votes
0answers
45 views

Is there a simple step by step tutorial to redesign my Sharepoint Site?

I would prefer everything is more metro tiles and infographics, More responsive to browser size... as follow: https://www.pinterest.com/pin/543457880009485317/ https://www.pinterest.com/pin/...
0
votes
0answers
18 views

Prevent modal dialogs from getting closed after deleting an item

my JavaScript-application has a rather deep navigation using cascaded modal dialogues (SP.UI.ModalDialog.showModalDialog(...)). Sharepoint does handle this really well. From the 3rd level modal ...
1
vote
1answer
39 views

whats the difference between calendar lists on SP 2010 and 2013

In SP 2010 clicking on a event in Calendar list opens the event in a modal dialog box, but the same in SP 2013 opens in a new page. Is it configurable? Any other differences?
0
votes
1answer
866 views

“Unable to get property 'commonModalDialogClose' of undefined or null reference”

I tried to close a custom .aspx dialog in SharePoint 2013 but I will get this failure message: "Unable to get property 'commonModalDialogClose' of undefined or null reference". Can someone ...
0
votes
0answers
11 views

Multiple WebParts in auto-sized Modal

I want to add two WebParts (listViews) to a popup modal and i want it automatically sized to the size of the two WebParts. I already tried adding iframes with the desired WebPart URLs to the modal, ...
1
vote
0answers
22 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
2answers
22 views

Adding a Dialog box to a column description

I was wondering if it is possible to add a pop up/Dialog box to column description? I would like to concerve space by allowing the user a "view more option" with a more detailed description of the ...
1
vote
0answers
21 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 ...
0
votes
1answer
30 views

Modal Window on Full Page instead of Div

I have a situation where Modal window is opening on clicking calendar event in each div only. I want to open the events in full page modal window instead.How can i do this. I am using Sharepoint 2010.
0
votes
1answer
29 views

How to hide elements in dialog box?

In SP-2013 on prem, I am trying to hide all elements except the one element where one can browse for pictures, like shown in this picture where I want to hide everything inside the red square. I ...
1
vote
2answers
32 views

Modal Dialog read params server side

I have an applicationPage who is open by Modal Dialog. I would like to read this params server side in the application page . I don't use the URL for passing parameter, i use the options.args Is it ...
0
votes
0answers
35 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
179 views

Modal Dialog could not load the content on iPad Safari iOS9 - SharePoint 2010

I have a problem with the SP.UI.ModalDialog.showModalDialog function on iOS9 and SharePoint 2010. Here is my code: //script function open(){ var options = { url: urlGlobal, title: ...
1
vote
3answers
68 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 ...
0
votes
0answers
23 views

SharePoint 2010 modal dialog box not loading in IE compat mode

I am developing some custom tables using spservices to get data then place it into jquery datatables. On one of my columns I link to the items display form. This works when linking as a new tab. If ...
0
votes
1answer
32 views

How to show list survey in ModalDialog

I need to show my list Survey in ModalDialog ,with all the benefits of Survey:Rrespond, statictis, chart. I tried overview.aspx but no chance: url= "http://srvdev:2222/listeInstances/_layouts/15/...
0
votes
0answers
43 views

Open a Calendar event in a Modal Dialog Box

When I open the calendar event, the display form opens in new tab. How can open it in modal dialog box? I'm using calendar overlay.
0
votes
1answer
33 views

Cancel on modal confirmation dialog not working

I have a simple modal popup dialog launched on the "register" button of a "new element" form : $( "#...
0
votes
1answer
57 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 ...
1
vote
2answers
53 views

Remove Cancel button of New Item form from SP Modal Dialog

Using below code I am loading share point new list item form in the SP Modal Dialog. Now I want to hide Cancel button of that form. How can I do that ? <script type="text/javascript"> var ...
2
votes
0answers
40 views

Display datepicker on top of the forms's modal dialog

I have a custom item edit form and I have a couple of DateTime properties that has to be filled at the bottom of the form (using datepicker): So when I click the mini calendar icon to choose the ...
0
votes
0answers
23 views

Retrieve list item created by current user in content editor in SharePoint 2013 [duplicate]

I want to show SPModal Dialog which contains a new item creation form to the user on the page intranet home page if user is not create or submit any items in that list. I tried but I am getting error ...
0
votes
2answers
63 views

Open list element in modal view from a site page

I'm trying to include a link in a site page that leads to a specific element of a list.. I need the link to open the element détails in a modal dialog box instead of sending me directly into the ...
0
votes
1answer
127 views

Pop up boxes in SharePoint 2013

I need to create pop up boxes linked to images on a SharePoint page. The pop up needs to contain text which is further information on the image. When the user clicks on the image the pop up box needs ...
0
votes
2answers
2k 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 ...
0
votes
0answers
37 views

Ideas from experience SP Devs

just started SP dev and bludgeoning through a bit as im self learning. Just wondered if anybody had any pointers on a couple of things I want to do: I have a custom choice field in a list. This is ...
1
vote
3answers
496 views

Close modal popup opened using SP.UI.ModalDialog.ShowPopupDialog(url)

Sharepoint promoted links webpart open in dialog opens the popup using SP.UI.ModalDialog.ShowPopupDialog(url) How do I close this popup using a custom button in the popup page SP.UI.ModalDialog is ...
1
vote
5answers
7k views

How to open a calendar item in a modal dialog?

When I add a new appointment to the calendar, for example "Appointment with dentist", then I get a modal dialog where I fill in all the details. This is good. The appointment is then visible in the ...
0
votes
1answer
47 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: ...
1
vote
3answers
77 views

Make dynamic calculated column Formula URL open as modal

Created a dynamic URL within a calculated column ="a href='/.../Test Doc Library/"&Title&"'>LINK</a> which works fine, but I need it to open as a modal and cannot get it to work. I'...
0
votes
1answer
170 views

Get field value in modal list item display dialog on Sharepoint Online

I have a basic custom list with items that open in a modal display form. I need to get the value of one of the fields, store it in a javascript variable, and further process it. How do I get the field ...
1
vote
3answers
8k views

how to open hyperlink list item in modal dialog box

I have created a datagrid using javascript. In that I am displaying top 4 items of my sharepoint list. Now I want to open hyperlink list item in modal dialog box on the click of that hyperlink. Please ...
2
votes
1answer
101 views

Hyperlink Column Link Should Open in Modal

I want the user to click a link and then that link should open in a modal window. I have tried this on a blank page with a CEWP and it works using both of the following codes: <a onclick="NewItem2(...
0
votes
0answers
19 views

Refreshing a lookup field in modal edit form via client side javascript

I have a list (list "Project") that on edit of a item opens a modal dialog for editing (editProject.aspx) The Project item has a lookup field "Document links" which points to a custom sharepoint list (...
0
votes
2answers
1k views

Forcing showModalDialog() when an item is clicked from a web part links list

We have a web part on a page that refers to a simple list with two fields: Title and URl. Obviously, this list is used by the end user to show links to various items (google, etc) on the web part in ...
1
vote
1answer
61 views

Modal Dialog: How to Disable Redirect on Save

I have a wiki page with a link on it which when clicked opens a modal dialog to a document set's new form page. When the Cancel button on the modal dialog is clicked, the dialog closes, as expected. ...
1
vote
1answer
58 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
2answers
200 views

Close SP.UI.ModalDialog window

Am using SP.UI.ModalDialog.showModalDialog to open popup modal window. A custom anchor for closing using self.close and window.close without luck and no error found in console log. function ...
0
votes
0answers
18 views

Read Base Page Control Value on SharePoint Default Modal Dialog

One of my Project requirement, I would like to get the Base Page value on SharePoint Default Modal Dialog. For Example : I have one SharePoint Site page and this page contains some HTML Control with ...
6
votes
1answer
242 views

Unable to get property 'showWaitScreenWithNoClose'

var waitingDialog = SP.UI.ModalDialog.showWaitScreenWithNoClose('Your action is in progress...', "Please wait while we generate the tasks for you."); error Unable to get property ...
3
votes
2answers
1k 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 ...
1
vote
2answers
76 views

How to focus field when opening modal dialog

If I have a modal dialog which looks like the following, how can I focus the textarea after opening the dialog? By simply adding $('#txtArea').focus(); after the code, the txtArea has focus for only ...
0
votes
1answer
199 views

SharePont 2013 Lightbox for Picture Library

Anyone who can help implement the lightbox plugin to a sharepoint picture library. Thanks in advance.