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
0answers
63 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
50 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
416 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
467 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
293 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
33 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
104 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
725 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
63 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
18 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
763 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
230 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
3answers
998 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
248 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
520 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
483 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
1answer
195 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
47 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 ...
1
vote
1answer
63 views

Modal pop up not getting displayed properly

I have created the modal dialog box using the following javascript code : <script type="text/javascript"> function popThisUp() { var options = { url: ...
0
votes
1answer
2k views

“This content cannot be displayed in a frame” - SharePoint 2013 Deployment

I have developed a SharePoint-Hosted app which opens a new modal dialog in a list. On SharePoint Online it works without problems, but if I deploy the app on a SharePoint 2013 On-Premise system I get ...
1
vote
1answer
410 views

Refresh parent page after closing list item dialog

I'm trying to refresh the parent page of a list when closing the dialog of a list item. Is there a way to achieve this with javascript somehow? I inspected the button in the DOM and tried to write ...
0
votes
0answers
15 views

Custom form reloads in multiserver load balanced farm

I have my Web Application deployed in 2-3 environments and now it is deployed in production environment but it giving us a problem. Wherever there is modal dialog, it keeps reloading intermittently. ...
0
votes
1answer
109 views

How to display application web form in modal dialog?

I have the following code of application page formdem.aspx: <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> ...
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 ...
0
votes
2answers
100 views

Open form in a model window

I have this code that opens a form from an image button and I want the form to open modally. <a class="ms-addnew" id="idHomePageNewItem" ...
0
votes
0answers
189 views

Overrding the closing button on a list form modal dialog

I have a custom list form that opens within a dialog. What I need to do is the following: Override the closing button (X) by prompting the current user to see if they want navigate away from the ...
0
votes
1answer
103 views

Pop up a browse Site Content dialog through code

I recently watched a video which popped-up a SharePoint Dialog box (Webpage Dialog) to browse site content, and then return the selection value to a text box. Is it possible to invoke this dialog box ...
0
votes
1answer
291 views

How to commit form then open a modal dialog (edit form to edit form)

I have an edit form that I need to have commit data and then open another edit form with the same ID in a dialog. Previously I did not have to save data so I used onclick="javascript: ...
0
votes
1answer
102 views

2013 Nested Dialog Fields - another way to reference in jquery other than “select[title=xyz]”

I am trying to use JQuery to create parent/child relationships and set a field in the child (lookup of parent) to that of the child. I am using Content Editors in the forms (these are just the main ...
0
votes
1answer
300 views

How do I add a scrollbar to a dialog?

I have created a sharepoint dialog using the HostWebDialog="true" option in my custom action. The issue is that if the data in the dialog box is larger than can be displayed there, I cannot scroll to ...
1
vote
1answer
340 views

How do I dynamically insert workflow GUID into URL I am building to open workflow initiation form in modal mode?

I was trying to follow the instructions in an excellent post "Open workflow initiation form in modal dialog" but did not know how to do this step: I'm able to dynamically insert the GUID of the ...
0
votes
0answers
31 views

Prompt user for input due to file modifications

When a user interacts with a document on SharePoint (e.g. opening it or sharing it) I want to prompt the user for input before they may proceed to edit/share/modify. I don't want to modify user ...
0
votes
1answer
59 views

How can I load some JavaScript inside of a popup?

When creating a new event in our calendar, an absolutely positioned iframe appears. How can I load JavaScript inside this iframe? I want to do some manipulation of the form with JavaScript.
0
votes
1answer
53 views

Getting the Title Value of SP.UI.ModalDialog

I have a modal window created and I am able to show the window perfectly. I have passed the title as parameter and was able to see in the modal window, but I cannot find the code behind for me to ...
0
votes
1answer
963 views

How to hide list ribbon when opened as a modal popup

I have created list items links. When user clicks on them, the DispForm.aspx gets opened as a modal popup. I want to hide the ribbon that comes on the top. I have used javascript code to open list ...
0
votes
1answer
147 views

Sharepoint 2013 - open a second modal window from a first modal window

I have an aspx page opened in a modal. On button click I need to close the current modal and open a new one or just open the new page in the same modal. Any suggestions? Below is my code: function ...
1
vote
0answers
307 views

Why does my Sharepoint app modal dialog gets access denied error when using razor, but works fine when I use an aspx page

I am attempting to open the iframe in my sharepoint provider hosted app as a modal using a MVC razor view. When I open the app I get a 0x80070005 - JavaScript runtime error: Access is denied. in ...
1
vote
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 ...
1
vote
0answers
69 views

commonModalDialogClose not firing on chrome

I have the next script on my page Parent function triggerModal(b,a) { // if the url contains mysite - open it in showModalDialog if (a.toLowerCase().search("person.aspx")>0 || ...
0
votes
2answers
266 views

Modal popup disappears

I have created a button and on the click of that button a JavaScript code gets triggered. I have given the link of a list of SharePoint that gets opened as a modal dialog box on the click of that ...
0
votes
2answers
497 views

Open a List Form in a Modal Dialog Box from Left (Current) Navigation

I have read multiple articles on how to do this, but I am running into problems. eg. link or link The problem may lie in how I am trying to implement this. I have a list with a form that I will ...
2
votes
1answer
733 views

Error while closing Modal Dialog (JavaScript)

So I create a Modal Dialog with this code: function openModalDialog(title, url, callback) { var options = { title: title, url: url, dialogReturnValueCallback: callback ...
0
votes
2answers
347 views

SP.UI.ModalDialog Namespace or Reference

Is there any server side reference for SP.UI.ModalDialog? What is the reference for SP.UI.ModalDialog for client side? How i reference this in webpart?
1
vote
0answers
1k views

How to disable background scrolling while modal dialog is open?

On Sharepoint 2010, when a dialog pops up, users are able to scroll in the background. This affects the user experience, particulary on devices. I have researched a lot into solving this, and ...
0
votes
2answers
269 views

How to set the value for a custom field in a list?

I am editing the script and HTML for a Content Editor web part. My code opens up a Modal Dialog when a user clicks a link on my page. In the dialog, the custom fields I've defined for the list appear. ...
0
votes
2answers
1k views

OpenPopUpPage to go to new URL on close

Currently my code is OpenPopUpPage('mydialogurl', RefreshPage) What do I need to change RefreshPage to be so that it moves to the new URL after my dialog closes? So far I can only get it to go to ...
0
votes
1answer
176 views

Client side security trim DOM node

I know that you can apply security trimming to .aspx pages via the <SharePoint:SecurityTrimmedControl> control, but is there an equivalent way of security trimming dynamically generated DOM ...
0
votes
1answer
54 views

OpenPopUpPage resize

I am using a SharePoint 2013 On Prem Server and want to show a Modal Dialog in an application page. I use: OpenPopUpPage(url, callback); This way the Dialog sizes to its content and everything is ...
0
votes
1answer
279 views

open links in modal view from page layout

I have found how to open any link in modal view thanks to the JS OpenPopUpPage* on publishing pages. I would like to use this also with the links I have in my page layout (created by snippets), so ...
0
votes
1answer
353 views

SharePoint 2010 Modal Window - Detect when content has fully loaded

I have a SP 2010 page, where I have several links that open modal windows with the following code: function OpenModalPage(url, title) { var myModalPageOptions = SP.UI.$create_DialogOptions(); ...