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
2answers
4k 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
22 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
8 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
898 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
21 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
18 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
73 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
14 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
170 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
43 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
49 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
863 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
32 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
67 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
104 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
53 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 ...
1
vote
2answers
243 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 ...
0
votes
0answers
50 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
44 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
19 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
252 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
485 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
95 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
49 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
450 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
20k 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
26 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
2k 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
499 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
14k 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
45 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
216 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. ...
0
votes
0answers
48 views

Open InfoPath form with sign section on it in modal window

I have a InfoPath 2013 form from form library with signature section in it and I want to open it in a pop up modal window and sign it in the modal window. But SharePoint prevents opening the form with ...
0
votes
0answers
76 views

Modal Dialog doesn't work with Community Site Discussion

I am trying to add a button to a page showing a community site discussion that launches a modal dialog showing the page with the discussion and all replies but when I click the button the modal dialog ...
1
vote
2answers
233 views

Close modal dialog when no Close button

I've made a mistake by creating a modal dialog in CEWP code without a Close button. Now I have no way of closing the modal and so cannot access the page or edit the code in web part. I would of ...
0
votes
1answer
175 views

Sharepoint 2013 modal dialog trouble (master page)

Help me please. Something wrong with my own master page (edited Oslo.master). When Im trying to add user\permission my dlg window is empty (iframe content is absent). I can see Title only. But after ...
0
votes
1answer
146 views

How to show a modal dialog without master page content?

I am migrating a sharepoint solution from Sharepoint 2010 to 2013, and so far everything works, but I'm stuck at one specific problem. In some lists, the user has the possibility to open an editor for ...
0
votes
2answers
87 views

Run code before Modal Dialogue closes

So I have been trying to write this code for SP 2010 to first bring up the newDocSet.aspx form for the user to create a custom Doc Set and then directly afterwards copy files into the Doc Set using ...
0
votes
0answers
54 views

ModalDialog gets sticky with mouse cursor in IE9 and chrome

I will list the scenario so that you will understand the issue: We have hosted few ExcelReports in sharepoint 2013 Created pages with Excel web parts Open that page which has excel report embedded ...
2
votes
0answers
45 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); ...
0
votes
0answers
48 views

How to remove Master Page for treeview picker or date time picker controls in sharepoint? ms-dialogHidden is not working for such controls

The style ms-dialogHidden is used for hiding the unwanted master page header elements in modal dialog boxes. For more information: ...
0
votes
1answer
40 views

Confirmation once a user has submitted a list form

We have quite a few lists on our sites where users fill out forms to add items to a list. One thing that has always bugged me (and my users) is once they fill out the form the dialog just goes away. ...
0
votes
1answer
202 views

Increase width for form modal dialog

How do I increase width of forms modal dialog? API provides a way to specify ModalDialog options: SP.UI.ModalDialog.showModalDialog(options) Method, however how do I increase width in case when I use ...
0
votes
3answers
254 views

SP.UI.Modal dialog pop up doesn't work in Internet Explorer

I have added a pop up box containing another page on my SharePoint site and it works fine in Chrome. When I click the button to open it in IE 10, however, the page just reloads and no pop up box ...
0
votes
1answer
200 views

How to download SP.UI.Dialog.js?

I have got same Modal Dialog on Sharepoint 2010. If I tried to migrate to Sharepoint 2013 I must download SP.UI.Dialog.js How Could I do it ?
0
votes
0answers
27 views

Problem commonModalDialogClose Migration from Sharepoint 2010 to Sharepoint 2013

I have got two source codes: - First Javascript function OpenDialog8(strPageURL, width, height, title, args) { var dialogOptions = SP.UI.$create_DialogOptions(); ...
0
votes
2answers
75 views

How to create a link that changes based on the list item id in Sharepoint 2013?

I am trying to add a pop up window in a document set that shows the start a workflow page in Sharepoint 2013. I can do this easily when I include the ID of the doc set in my URL but I would like to ...
0
votes
0answers
51 views

SP.UI.ModalDialog.showModalDialog(options); refreshes browser and closes dialog

I have created a page which uses a REST call to get the DefaultNewFormUrl and then I am trying to pass this to the modaldialog but for some reason the modal fires, starts to load and then the entire ...
0
votes
1answer
17 views

How to implement modaldialog with confirmation, when you click on yes, start a method in the code behind?

I have created an application page. On this page I have add some asp button with an event in the code behind. In the event I start some method. How can I make an confirmation when I click on this ...