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
51 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
35 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
185 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 ...
1
vote
0answers
155 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 ...
0
votes
0answers
27 views

Maximize Button missing

I am working on a site which was developed on SharePoint 2010 but it's now migrated to SharePoint2013. The maximize button was working while opening the list in 2010 site,but it's not working on 2013 ...
0
votes
0answers
91 views

Ajax calls not working in ShowModalDialog

I have Hyperlink in my masterpage, and when users clicks on it, a modalpopup should display with updatePanel divfrom MasterPage. Here is the MasterPage div that has UpdatePanel - <div ...
0
votes
3answers
156 views

close modal dialog in sandbox solutions

i tried to close the modal dialog in sandbox solution using the following code HttpContext context = HttpContext.Current; context.Response.Write("<script ...
1
vote
1answer
1k views

Use existing Modal Popup

I was wondering is there is a way to use the existing modal popup already used by SharePoint and override its callback? Thanks.
1
vote
0answers
44 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
124 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 ...
0
votes
2answers
109 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 ...
2
votes
1answer
315 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
123 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?
0
votes
0answers
15 views

How can I customize dialog list and where is official Microsoft documentations about this?

I'm a consultant and I'm working in a SharePoint 2010 Foundation project. My project contains: Site Column Definitions Content Types Definitions foreach Lists List definitions and relative list ...
0
votes
0answers
84 views

Firing Bootstrap Modal Client Side

SharePoint won't let me insert the following attribute into the <a> of a list: href="javascript:toggleDiv('premiereModal');" It strips it. I've tried inserting a normal URL and then targeting ...
2
votes
2answers
3k views

Open Dialog for new List Element with JavaScript - Access Denied

My SharePoint 2013 App has a button with the click Event: OpenDialog("/Lists/ListName/NewForm.aspx?IsDlg=1"); where OpenDialog is defined the following way: function OpenDialog(URL) { var ...
3
votes
1answer
210 views

Making SP.UI.ModalDialog Scrollable on Mobile

I have a basic Modal Dialog loading on my SharePoint page through a function. It loads correctly and can scroll on desktops perfectly fine. I began testing the page for mobile functionality on a ...
0
votes
2answers
129 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
462 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
0answers
595 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 ...
2
votes
3answers
4k views

Detect Modal Dialog Close with JQuery

In my application, I am trying to hide scrollbars in the parent window when a modal dialog is opened... I've added this to my Master Page: $(function(){ if(window.frameElement != null) { ...
0
votes
1answer
487 views

php “iframe” load SP Modal dialog

I have a php page insert into a PageViewer Webpart, in the php page, I have a button and I want that when you click on it, it will display a sharepoint modal windows in the parent sharepoint page ...
3
votes
2answers
1k views

Disabling the Dialog pop-up for Calendar views

It seems from my trivial Google searches, that some users find, for certain list types - an inconsistent experience related to modal dialogs. In my scenario, we have a plain old SharePoint Foundation ...
0
votes
1answer
87 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
41 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 ...
2
votes
1answer
1k views

List forms (new/edit/view) not appearing in popup

We have deployed a SP2013 site via powershell and notice that the list forms do not open in popups rather they open as page. We created a new SP site via central admin SharePoint UI, Same problem. ...
0
votes
1answer
194 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
0answers
109 views

How to hide SP.UI.ModalDialog.showWaitScreenSize?

While loading a SP.UI.ModalDialog window, I implemented a Waitscreen as proposed by MdMazzotti. Now, I seem unable to close that waitscreen from the dialog window. apparently, this fails because the ...
0
votes
1answer
148 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(); ...
0
votes
1answer
352 views

Sharepoint modal popup don't shown when the Infopath form are on the site

I tried to add Infopath form on my project, but when I add the Infopath form some of PopUp which are corelated with Infopath and shows errors od data didn't shown What should I do to shown A Modal ...
1
vote
2answers
695 views

Modal Dialog not working in custom aspx page

Tried adding a Modal window but it just fails to work. The code itself works in a FormWebPart but not in a custom aspx page created via SPD. Working Code in FormWP <p><a ...
0
votes
1answer
2k views

SPLongOperation only starts at operation end

I'm using an AppPage showed up in a ModalDialog and when I click on a button action I try to start a SPLongOperation process, but it only shows the processing panel right before it ends. here is the ...
0
votes
1answer
681 views

Modal Dialog - Full Screen

Just a quick question, so I have the below link to open a page in the Model Dialog for another page, instead of an iFrame. My question is, is it possible to open the modal dialog in full screen? ...
0
votes
0answers
85 views

SP2010: Modal not working on blank page

SP2010 I can't seem to have links open in a modal dialog, from a blank .aspx page. Here is what I've tried: <a title="Reserve a Conference Room" ...
0
votes
0answers
28 views

Dialog to dispaly items with own style

I have a Sharepoint-hosted app. The app is a survey page were users answer questions and hit a save button to send the answers to a sharepoint list. After that they going to the list and want to ...
1
vote
2answers
179 views

Open Modal Dialog on Title click in list?

I have a Sharepoint-hosted app. When you click on "No Title" in a list you get a new window where the items is being showed. What I want is, when user click on "No Title" in the list it should pop up ...
2
votes
1answer
200 views

OpenPopUpPage works for Chrome but not IE

I am at a lost why this works in Chrome but not IE. This is a link within a web part for SP 2010. <a ...
1
vote
1answer
3k views

SP.UI.ModalDialog Close button

I have created a visual webpart in SP2013. and created a page and add that WebPart to the page http://server Name/Pages/survey.aspx to make this WebPart to show as a popup on the homepage every time ...
1
vote
3answers
3k views

Print from Modal Dialog

I would like to print everything in a newform.aspx/editform.aspx modal dialog. I was considering creating a Web Part or a bit of JavaScript that was nothing more than a print button that specified ...
2
votes
2answers
6k views

JavaScript: How to reuse the “Working on it…” pop in

Sharepoint 2013: In have custom JavaScript code that makes Ajax calls. While loading I'd like to show Sharepoint's loading pop in: That is the one that greys out the underlying page and centers a ...
0
votes
1answer
132 views

Obtain QueryString From Modal Dialog Parent Page (SP 2010)

I have an application page that opens a modal dialog. Users are provided a link to this modal dialog via email, when they click on the link it will take them to the modal dialog and populate the ...
2
votes
4answers
8k views

How to get result from SP.UI.ModalDialog.showModalDialog back to C#?

I have a code on a visual web part user control (see below): Could you please advice, how to get value from the callback function back to the C# in code behind to process it? <script ...
0
votes
1answer
182 views

How to auto close HostWebDialog box?

I have ribbon button that open a dialog box. The thing is that when you click the ribbon button the dialog box should only flash and then close and refresh. I want to to it with javascript I use this ...
0
votes
0answers
19 views

Change the user experience of the SharePoint modal dialog when called from a SharePoint Hosted app.

Calling a modal dialog from a SharePoint hosted app works perfectly. My question here is, how can I change the CSS of the rendered modal dialog to make the UX look like it has been called from a farm ...
3
votes
1answer
272 views

Discussion item won't open in modal window

SharePoint 2010 I have a display form that has a task list webpart and a discussion list webpart. The display form opens in a modal window. When a task list item link is clicked, it opens in an ...
1
vote
3answers
574 views

Changing bg colour on a modal dialog box - s4-ribbonrow

I have a slight css issue and was hoping someone would be able to assist. I am in danger of being blocked asking any further questions so I'll try to be as clear and concise as possible :) I would ...
0
votes
1answer
309 views

How to close Dialog box?

I have Ribbon button that when it's clicked you get a dialog window open. On that window I have a button that I want to use to close the dialog window when clicked. This is the code for the dialog ...
0
votes
0answers
52 views

Open a Modal Pop when SPMenu item is clicked - ( NavigateUrl )

I need to add a Modal popup on clicking on the url of a SPMenu which resides in a SPGridView. I specify the url in the row data bound method. In the SPMenu when a Application page path is directly ...
0
votes
1answer
105 views

Hide Shared With in a Modal Pop up Dialog

I need to hide or disable the Shared With button in the top ribbon bar of a Modal Pop Up dialog. I tried this CSS but no luck: #Ribbon\.ListForm\.Display\.Manage\.ManagePermissions-Medium { ...
0
votes
1answer
909 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 ...