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
1answer
24 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
692 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
31 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
3answers
867 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
27 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
32 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
38 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
26 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
42 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
67 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
33 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
378 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
29 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
56 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
68 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
6k 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
65 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
15 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
968 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
52 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
42 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
133 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
15 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
208 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
63 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
122 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
995 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
42 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
158 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: ...
0
votes
0answers
148 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
0answers
69 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
78 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
48 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
359 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
641 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
119 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
72 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
657 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
22k 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 ...
2
votes
1answer
3k views

SP.UI.ModalDialog undefined - Close SharePoint Modal dialog with javascript

I have created a modal dialog in SharePoint with the elements.xml. I use a SharePoint Hosted app. This is my CustomAction Definition: <CustomAction ...
3
votes
1answer
524 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 ...
3
votes
6answers
15k views

SP.UI.ModalDialog.RefreshPage from the dialog itself?

I have customized the display form on one of my list. On a webpart page, I have drop a view to this list. When I click on the title of my item, the custom disp form is shown as expected in a modal ...
1
vote
0answers
51 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
289 views

Pass parameters to URL in SP.UI.ModalDialog

On load of my site I check if a user is 'registered' with the site (I need specific non-SP data about them which is saved in Users list). If not, then I show the NewForm.aspx page for Users list. ...