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

0
votes
3answers
987 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: ...
0
votes
1answer
20 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
30 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
27 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
172 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: ...
0
votes
3answers
52 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
22 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
27 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= ...
0
votes
1answer
759 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
36 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
31 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
50 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
40 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
34 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
54 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
98 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
36 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
424 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
6k 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
40 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
63 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. ...
0
votes
1answer
100 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 ...
0
votes
3answers
7k 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
78 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 ...
0
votes
0answers
17 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
980 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
55 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
48 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 ...
1
vote
2answers
171 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
16 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
221 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
67 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
158 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
3answers
1k views

Unable to get property 'STS' undefined or null reference - Sp.ui.dialog.js

My problem is that when I start my app for the first time,it shows me an error. The error is: Unable to get property 'STS' undefined or null reference. If I refresh my app then the error disappears. ...
1
vote
0answers
43 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 ...
2
votes
4answers
190 views

How to create a button with serverside event and clientside event?

I created a dialogWindow with a button OK. When someone click on OK, I would like to do some server side logic. After this I would like to close the dialog by returning: ...
1
vote
0answers
78 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 ...
0
votes
0answers
88 views

Using require.js with SharePoint 2013

I am working on a custom aspx page in a SharePoint site that I am trying to include Modal Dialogues on. I have figured out which SharePoint javascript files I need to load and the modal dialogue ...
0
votes
2answers
50 views

Modal dialog - new button to close modal

I have a modal dialog popup that is timed to appear once a week. What I now need to create is a button that closes the modal dialog - I want to hide the top right corner button and replace it with a ...
0
votes
0answers
26 views

Dialog box master page [Sharepoint Online]

I'm new to sharepoint and I'm struggling with the following problem. I want to display a dialog box with custom web page. I want to have one part for the main content and a panel with buttons below it ...
2
votes
2answers
410 views

Create a modal dialog popup on load which would appear only once a day

<script language="javascript" type="text/javascript"> SP.SOD.executeFunc('sp.js', 'SP.ClientContext', MyPopUp); function createCookie(name,value,days) { var expires; if (days) { ...
8
votes
2answers
712 views

Use SharePoint 2013 “Working on it…” during ajax call

I'm trying to use the SharePoint 2013 "Working on it..." during ajax call. This is the code: function ShowWaitDialog() { SP.UI.ModalDialog.showWaitScreenWithNoClose(SP.Res.dialogLoading15); } ...
0
votes
1answer
123 views

Open list form in either dialog or page depending on list setting via JavaScript

I am developing a custom copy item form for Sharepoint 2013. I have created a copy button for my list items so that the user can easily copy items. I put a button in list view form ribbon for this. ...
1
vote
3answers
86 views

On click of Summary Link want to open a modal popup

I have a Summary Link web part. On click of one of the links in the webpart I want an aspx page to be opened as a modal pop up. The challenge is where to put this javascript code?
1
vote
2answers
721 views

Modal Pop up to show SharePoint List items

I have a list called "XYZ" that stores users in it. I have a page with summary links web part that also has a link which would open a modal popup. This popup should show all the list items of "XYS" ...
17
votes
5answers
23k views

SP.UI.ModalDialog.showModalDialog using the html option

http://msdn.microsoft.com/en-us/library/ff410058.aspx says that you can use the option html to display html text in a modal. I have a string like this; var html = ...
0
votes
1answer
27 views

How to add Content Types List on a Page and use it to create NEW document/list based on type selected?

I need to show all content types in a drop-down or as hyperlinks along with description on custom .aspx page. When user selects any type, respective New Form should open to create a new document/list ...