Questions tagged [modal-dialog]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
193 views

How to implement ModalDialog.showWaitScreenWithNoClose in Sharepoint Online using CEWP in custom list?

I am new to Sharepoint developing/web development and I am trying to create a "loading..." box to occur until the page is finished. I want to use the Sharepoint modal dialog that is already available ...
2
votes
1answer
622 views

Open full .aspx web page in modal dialog box

I have searched everywhere to find a solution for opening an entire .aspx web page inside a modal dialog box. I do not want to open a specific web part, I would like to embed the entire page, with all ...
0
votes
1answer
30 views

Read value in textbox on mail page from newitem form

I have a calendar view and I have some textbox with user values. When I click on the +AddItem value I want to use this data in the main form to validate some text fields. I need to read the <input ...
1
vote
3answers
1k views

Open SharePoint form in dialog box on button click

I need to open a SharePoint form from an image button but in a modal dialog box. Is that possible? Thanks in advance
7
votes
1answer
522 views

CORS problems upload.aspx dialog

I'm trying to upload a file and to show the Upload.aspx dialog from an external web site. I have this code: function openUploadNewDocumentDialog(passingID) { var dialogOptions = SP.UI.$...
0
votes
1answer
579 views

SharePoint Online / Open URL in modal

I'm using SP Online with Oslo layout. The home page has a hyperlink (i.e.<a href="..../newform.aspx">Create Your Profile</a>) Is there a way open the URL in modal? I found similar ...
4
votes
2answers
126 views

Navigation as per Sharepoint user group

I have an edit form that opens up in a modal dialog box. I need to navigate it to different forms on SAVE/CANCEL clicks as per the user-group of currently logged in user. For eg, project leaders to ...
0
votes
2answers
2k views

Uncaught TypeError: Cannot read property 'cancelPopUp' of null in sharepoint hosted app

I referred the following link https://alinimer.wordpress.com/2013/02/25/open-pages-and-forms-in-modal-dialog-for-sharepoint-2013 to create a modal pop up . I am able to create a pop up for the new ...
2
votes
0answers
852 views

Launch forms in dialog - SharePoint Online/Modern Lists

I have been trying to manoeuvre my way around the new Modern lists in SharePoint. I have set Launch Forms In Dialog to YES however the form for the list does not open in a modal or dialog. It does ...
0
votes
1answer
109 views

How to make forms in ModalDialog (IsDlg) respect Source and redirect accordingly to a 'thanks' page after submit?

Has someone already solved the conflict between IsDlg and Source query string parameters to allow a redirect after form submission in a SP.UI.ModalDialog? Per chance even when an InfoPath form is ...
1
vote
1answer
573 views

Pass a variable to an SP modal dialog

Here´s my predicament. I have an Assignment.aspx custom application page. On this page I´m calling a web service to fetch an assignment object from the SQL server. This object is fairly big and takes ...
0
votes
3answers
343 views

I need to call a function when modals are invoked

Is there an event handler I could use to determine when sharepoint launches a modal?
1
vote
2answers
665 views

Control redirect on saving new Document Set with NewDocSet.aspx

Does anyone have any experience with controlling the redirect when creating a new document set with NewDocSet.aspx? Our client would like the ability to create a new document set and be returned to a ...
1
vote
1answer
35 views

SP2013: Intercept Modal Window to Set a Height

I have a list webpart on a custom page, and I have the Open in Dialog enabled. How would I go about intercepting the standard SP modal call in order to pass a height value? My modal window is way ...
3
votes
3answers
623 views

Sharepoint 2013 ribbon is squeezed on Chrome when IsDlg=1

On a Sharepoint 2013 on-premise when we open a page with the parameter IsDlg=1 the ribbon gets squeezed on Chrome (it looks OK on Firefox and IE), even if the ribbon has plenty of space. Here is how ...
0
votes
2answers
1k views

How can I make modal popup in sharepoint 2013

I am making a CRUD list item Page. When I add or edit list item, I want to load those page as a Modal popup. For now I just use redirect and move to another page. And I heard that use SP.UI....
0
votes
2answers
423 views

Put custom HTML string OR custom .aspx page url in SP modal dialog

I want to put either custom HTML string OR custom .aspx page url in SP modal dialog function OpenCustomForm() { var options = SP.UI.$create_DialogOptions(); options.url = "/sites/...
1
vote
2answers
797 views

Set focus on SharePoint 2013 Modal dialog

I am opening popup modal with below JavaScript code, which is working correctly. But is it possible that when modal dialog opens, cursor or focus should be on modal dialog rather than on parent page. ...
0
votes
2answers
252 views

SharePoint 2013: Drag and drop not working in model dialog

Scenario: I have external users and i am opening a SharePoint document library in model dialog. It works perfectly if users clicks on "New document" link and add documents. But if they try to drag and ...
1
vote
1answer
107 views

SharePoint 2013 close modal image link

On the screenshot below I have circled a 'home' image button on the modal dialog page. I would somehow like to add a close window function to this to close the modal dialog. I have tried the below ...
0
votes
1answer
446 views

Modal Popup not displaying content

I have a modal popup on a calendar which displays the DispForm.aspx page. Currently on some devices it shows as expected but it is also run within a program which takes IE and cuts parts off. The ...
2
votes
1answer
644 views

Open SharePoint Modern library in modal dialog not adhering to ms-dialogHidden or IsDlg=1

Question regarding Modern Libraries, I wish to open document libraries in a Modal Dialog on a page but have only the library shown, not the Office 365 Suiter bar and left nav. I used the standard SP....
2
votes
2answers
1k views

Pop Up On Load SharePoint 2013

I am trying to get a modal to appear when the site loads. I created a site page called Disclaimer.aspx and stored it in the Site Pages document library. I created a text document called popup.txt ...
2
votes
1answer
287 views

Powershell script to open forms in dialog

I have written some Powershell script to iterate through each subsite in a web application, the aim of the script is then to find a list in each subsite with a specific name. For example, our lists ...
2
votes
2answers
432 views

Can I default all lists to open in dialog?

I've created a site template. Within this template I've set all forms to launch in a dialog, via List Settings, Advanced Settings, Dialogs, Launch forms in Dialog?, Yes. However, when I create a new ...
0
votes
1answer
36 views

Add buttons to SharePoint model dialog via javascript

I am trying to add some buttons to SharePoint model dialog through Javascript but nothing seems to work. Following is my code. var htmlElement = document.createElement('p'); var ...
0
votes
2answers
56 views

When user click on Close Modal Pop-up show java Script alert in SPD 2013?

I have a SP UIModal Pop-Up, in which I want show Alert to user when click on [X]. How can i do this in SPD 2013
0
votes
2answers
3k views

Modal Dialog not working after I added dialogReturnValueCallback?

I have a page that opens a dialog for a NewForm.aspx for a list. The code: <script> function openDialog(pageUrl) { var options = { url: pageUrl, title: 'Add Skills', allowMaximize:...
0
votes
2answers
394 views

Close Modal Pop-up from alert

I have a SP UIModal Pop-Up, in which I have a javascript code with alert. When I click OK in my alert, my pop-up should close... Currently , I am closing the alert message, then I need to close the ...
1
vote
2answers
774 views

How to open list items in search results page in modal dialog box SharePoint 2013

how can I open list items in search results page in modal dialog box? I have found some articles for SharePoint 2010 but not for SharePoint 2013. Can anyone help me? Thanks a lot.
1
vote
1answer
560 views

Launch Dialog box on page load

I have found a script that will run on click but I need it to run on page load. <script type="text/javascript"> //******** Basic Dialog Starts Here ***********/ function openBasicDialog(tUrl, ...
4
votes
4answers
16k views

How to create a link for List's NewForm.aspx that opens in Modal Dialog?

I have a custom list, and I want to create a direct link on the home page which points directly to adding a new item aka NewForm.aspx So, I edited the page and add a link i.e. "Click Here" => (http://...
0
votes
1answer
49 views

How can I Open a Page in Modal Window in Sharepoint 2010 through Designer?

I want to open a custom page to be opened in a modal dialog instead of new page.
2
votes
1answer
70 views

Getting error 500 in modal window

I have a modal window which gives me a Server Error in '\' Application when I click it. The .aspx looks like this: <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import ...
1
vote
2answers
417 views

InfoPath 2010 form text wrap issue on my SharePoint site

So I have an InfoPath 2010 form with a multi-line textbox that won't wrap text in Firefox or Chrome the text just continues on the same line. On IE, the text wraps properly. I've published this ...
0
votes
1answer
336 views

JSLink button to open modal window

I have created a JSLink file to open the edit form for a list item in a modal window. It works great on an Office 365 dev site, but when I try to use it within our on-premise SharePoint 2013 ...
1
vote
0answers
52 views

Javascript - Modal to appear every day for 10 days

I have a modal which needs to popup once a day for 10 days - the images must appear in sequence. The modal hold an image which needs to change every day and loop over that 10 day period. I have a ...
0
votes
1answer
705 views

SharePoint Online - How to make custom forms launch in a dialog?

I've created a new custom edit form for a document library in SharePoint designer. "Launch forms in a dialog?" option in advanced settings is set to "yes", however, it does not affect anything. The ...
4
votes
2answers
6k views

How to Open/Close a Sharepoint modal dialog using HTML instead of URL

I'm trying to open or close a SharePoint Modal Dialog. The dialog opens one time, but it doesn't open in the second time, I just get a weird title only box. Also I cannot figure out how to close the ...
5
votes
1answer
28k views

How to use SP.UI.ModalDialog on plain old HTML page

I have a plain HTML page (not aspx) that is hosted in my Sharepoint site Assets. Below is the source. <!doctype html> <html> <body> <button type=button onclick="openDialog()"&...
0
votes
2answers
61 views

Upload document dialog box trimmed

For a particular document library in SP 2013 when i try to upload documents, the dialog box to enter the properties is hidden/trimmed. What can be the issue?
0
votes
1answer
107 views

Show up modal in navbar

I have a navbar where I want to show a modal if I click into one item's Title. So now I show my navbar in JS menupopulator like this: function completeMenu(data, target) { var prefix = "<ul ...
1
vote
1answer
113 views

whats the difference between calendar lists on SP 2010 and 2013

In SP 2010 clicking on a event in Calendar list opens the event in a modal dialog box, but the same in SP 2013 opens in a new page. Is it configurable? Any other differences?
1
vote
0answers
96 views

Print in Modal View for SPS2013 List does prints blank page apart from content

Print in modal view, prints blank pages too I have added a HTML code to enable print in modal view for SharePoint 2013 Lists. Print command works and give you the option to print. However all the ...
1
vote
2answers
340 views

Adding a Dialog box to a column description

I was wondering if it is possible to add a pop up/Dialog box to column description? I would like to concerve space by allowing the user a "view more option" with a more detailed description of the ...
2
votes
0answers
128 views

Browse and select document library files through a Modal Dialog

I have a page which should link documents from a document library as hyperlinks in the page, so that a user can click on the hyperlink and view it. For this purpose,I need to add functionality to add ...
0
votes
1answer
113 views

Modal Window on Full Page instead of Div

I have a situation where Modal window is opening on clicking calendar event in each div only. I want to open the events in full page modal window instead.How can i do this. I am using Sharepoint 2010.
0
votes
1answer
550 views

How to hide elements in dialog box?

In SP-2013 on prem, I am trying to hide all elements except the one element where one can browse for pictures, like shown in this picture where I want to hide everything inside the red square. I ...
1
vote
2answers
231 views

Modal Dialog read params server side

I have an applicationPage who is open by Modal Dialog. I would like to read this params server side in the application page . I don't use the URL for passing parameter, i use the options.args Is it ...
0
votes
0answers
398 views

SharePoint Modal dialog page is empty

I have tried creating a modal dialog in a SharePoint Hosted APP using this script but I am getting an empty page in the resulting modal dialog. <script type="text/javascript"> var ...

1
2
3 4 5
8