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

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 ...
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 ...
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 ...
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.
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 ...
1
vote
2answers
72 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 ...
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
240 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
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 ...
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 ...
2
votes
2answers
251 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) { ...
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?
8
votes
2answers
483 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
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 ...
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
215 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
172 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
144 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 ...
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
252 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
199 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
26 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 ...
1
vote
2answers
449 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" ...
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 ...
0
votes
1answer
479 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
1answer
133 views

Sharepoint 2013 Modal Dialog title

I'm using SharePoint 2013 When I open view/edit item in a list the modal window displays the 'list title' and the 'item title' at the top of the window Is there a way to change the 'item title' in ...
0
votes
2answers
459 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
2answers
154 views

Open a SitePage in a Dialog in Javascript

I'm trying to open a SitePage in a Dialog. I currently arranged it for a Form of a ListItem, but when I apply the same code to a SitePage I get the following correlation error: An exception ...
3
votes
3answers
378 views

Unable to close the modal dialog from c#

I have created one custom action. On clicking custom action, I am opening an application page as a modal dialog. The page will allow users to add the data of fields. I have placed two buttons in the ...
2
votes
2answers
340 views

Open modal dialog from webpart in the parent page

I have written a SharePoint application which is embedded in a page as an AppPart. Now I want to open a modal dialog in the parent page. This code opens the dialog only in the current AppPart: ...
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 ...
0
votes
1answer
130 views

How to create popup window like sharepoint

When you select an item, a popup window appears with its data, inside the window. How can I do that? It would be preferable to use JavaScript functions from SharePoint.
0
votes
1answer
43 views

Not able to call javascript function

I am adding an onclick event from code behind file to a hyperlink control. I am trying to call a javascript function ViewInModal from this onclick event. I am picking up a value from a grid view and ...