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

3
votes
2answers
55 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 ...
0
votes
1answer
21 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 ...
2
votes
1answer
39 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
10 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
31 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
29 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
36 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: ...
1
vote
1answer
519 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 ...
0
votes
1answer
24 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 ...
0
votes
1answer
47 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 ...
0
votes
0answers
35 views

Create Hyperlink to Modal Pop-Up Form SharePoint 2010

I have this code for a modal Pop-Up Form <a href="http://SiteName/_layouts/Upload.aspx?List={94AC86A8-6774-4822-A197-A98542251678}&amp; RootFolder=" onclick="javascript:NewItem2(event, ...
1
vote
1answer
47 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
8 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. ...
3
votes
1answer
426 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 ...
0
votes
1answer
35 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" %> ...
1
vote
4answers
4k 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 ...
2
votes
1answer
68 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
28 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
34 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
40 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
48 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
37 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 ...
0
votes
1answer
27 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
15 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
40 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
26 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
60 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
0answers
75 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
20 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
1answer
172 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 ...
0
votes
0answers
38 views

Enabling Maximize Button for a list in sharepoint 2013

I have applied the following code in my SharePoint 2013 site in the content editor webpart: var options = { allowMaximize: true, showMaximized: true, url: “siteURL” }; ...
0
votes
0answers
44 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
134 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
33 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
68 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
72 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
153 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
66 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
12 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
54 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
2k 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
120 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
98 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
198 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
357 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
3k 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
442 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
0answers
159 views

Popup link in Quick Launch

I recently migrated our SP 2010 to SP 2013. Everything migrated well. But in SP 2010 I used to update the quick launch links by going to: http://spsite/_layouts/quiklnch.aspx with the Pop up ...