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
9 views

Events not firing inside popup dialog

I have a popupdialog created like this: var options = { title: newsArray[i].Title, autoSize: true, ...
1
vote
1answer
27 views

sharepoint modal dialog events inside

i have a popup modal dialog on a sharepoint 2013 online site, inside it i want to have a submit button and a checkbox, if user checks it then the submit button is enabled. This code works except that ...
2
votes
2answers
315 views

How do i send user back to edit item dialog when event receiver comes back with an error

I am creeting an event reciever that ensure that my list has unique items based on two columns. If I find a duplicate I wish to do one of the following: display a dialog which states a duplicate has ...
11
votes
1answer
602 views

Modal Dialogs and Minimal Download Strategy

I am having the following issue in SharePoint 2013 Online (Office 365 Preview): when I try to display in a modal dialog a page that relies on MDS (Minimal Download Strategy), the dialog opens but then ...
0
votes
3answers
190 views

Model PopUp in Sharepoint 2010

I'm trying to set up a pop up window with a URL to a document each time my Sharepoint site is loaded. I read that it can be done by adding a content editor web part with a following code to a page: ...
0
votes
0answers
31 views

Modal window over object problem

I have a problem with displaying modal window of .pdf files in a HTML WebPart. I have HTML WebPart where I've placed a button (which invokes popup modal window, a file upload, for example) and a pdf ...
3
votes
3answers
3k views

How to modify width of standard dialog form sharepoint 2010

Please, help me! I need to modify width of standard dialog form for adding element into library. If I click to ribbon button for adding element, form opened with width=402px: <div ...
0
votes
1answer
33 views

Modal Dialog in Autohosted Sp2013 App

I am stuck with a problem and thought that maybe one of you can help me with it. I have a autohosted Sharepoint App. The app consists of several aspx pages. What I want to do is that one of the ...
0
votes
0answers
19 views

Customized Ribbon in modal dialogs

I'm trying to create a form in a modal dialog and show a customized ribbon but when I focus my textbox the ribbon not enable it self. Here's my code: protected override void ...
4
votes
2answers
499 views

Object #<Object> has no method 'showModalDialog'

Consider the following code: var options = { title: 'Create a new Post' autoSize: true, url: url } SP.UI.ModalDialog.showModalDialog(options); The code is executed from a ECB custom ...
0
votes
1answer
46 views

collection has not been initialized after dialog modal closes

I have two JS scripts on my SharePoint 2010 page, one in the master page, one in a forms web part (I've attempted this with a CEWP as well). Both are in unique name spaces (My.Tabs and ...
0
votes
1answer
438 views

Creating modal dialog for adding item to list from another page

I'm trying to write web-part for viewing list items. It contains link "add new item". I should create modal dialog for adding item, and it must work from every page. So, I have JS for modal: ...
1
vote
1answer
455 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 ...
1
vote
1answer
296 views

Making Presaveaction() wait for SP.UI.ModalDialog response

I am using the Presaveaction() to perform pre-new/edit form validation. Once all fields have been validated successfully I would like to offer my users the ability to 'Save and Exit' or 'Save and ...
0
votes
1answer
52 views

Unable to get property 'STS' undefined or null reference - Sp.ui.dialog.js

My problem is that when I start my app for the first time,it shows me an error. The error is: Unable to get property 'STS' undefined or null reference. If I refresh my app then the error disappears. ...
0
votes
2answers
66 views

SharePoint 2010 Modal box with multiple button redirects

I am having errors with the redirect. It is taking me to the following page www.home.com/SITE1/undefined I am implementing cookies and I think this might be the problem. The reason for the cookie is ...
2
votes
1answer
59 views

Calendar Forms still loading via Dialog, despite Advanced List Setting saved?

I've got a problem where, it seems the 'Add Event' option within an SharePoint 2013 Calendar is always using a dialog to add an Event. Despite I've repeatedly saved the 'Advanced Setting' for: ...
1
vote
0answers
27 views

White rectangle background when i scroll SharePoint Modal Dialogbox

I'm facing a strange issue. Couldn't find the solution for this on the internet. I'm using a SP.UI.ModalDialog.showModalDialog in a SharePoint web part. Issue: When this dialog box is displayed and ...
2
votes
1answer
32 views

2010: How to get rid of the bottom Cancel button (not the close X Button) in a modal dialog page which uses dialog.master as Master Page?

My custom dialog page uses dialog.master as master page. It shows a Cancel button at the bottom right of the dialog box, which closes the dialog instantly. Since I implemented my own cancel button ...
1
vote
1answer
51 views

Issue with Modal Dialog in SharePoint 2013

Foll. is our code to open modal dialog in SharePoint 2013. It worked in 2010. In 2013, I have put a debugger and notice that the debugger wont go into the line after ExecuteOrDelayUntilScriptLoaded. ...
0
votes
1answer
68 views

SharePoint 2013 Modal: Custom OpenModalDialogFunction does not execute

Foll. is code for the function:- function openModalDialogDetails(Stringurl, width, height,modaltype,fieldname,empname,childfrm) { modaltitle="Effective Data for " + fieldname + " - " + empname ...
3
votes
1answer
83 views

In SharePoint 2013 is it possible to change the size of modal popup which opens when loading new/edit/display form of all lists?

In SharePoint 2013 is it possible to change the size of modal popup which opens when loading new/edit/display form of all lists? I want to inc the width and height. Please guide..
1
vote
2answers
68 views

Sharepoint Iframe Cross Domain

I developed a web part that is loading a dialog, something like: var dialog = SP.UI.$create_DialogOptions(); dialog.url = '_layouts/page.aspx'; etc.. Inside this dialog I have several stuff and ...
2
votes
1answer
54 views

Popup confirmation on 'status' column change

I'm looking to create a popup dialogue box when a column called 'Status' is set to 'Complete'. I want a popup box to ask "Confirm Complete?" with Yes or Cancel choices. Obviously Yes will update the ...
2
votes
0answers
125 views

Create a hyperlink to open a New List Item Content Type in modal View in SharePoint 2010?

I have been researching this for a while now and no where can I find a solution that works perfectly in a list with multiple content types. I needed to create hyperlinks on a page where the user could ...
1
vote
0answers
24 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
1answer
59 views

Is there any difference between custom Modal Dialog in SharePoint 2010 and 2013?

In SP2010 we used the code as:- <script type="text/javascript"> function OpenDialog(URL) { var NewPopUp = SP.UI.$create_DialogOptions(); NewPopUp.url = URL; ...
2
votes
1answer
153 views

How do I close an OpenPopupPage dialog box from C# code behind an .aspx application page

I am using a Farm application page to display a search/edit modal dialog box. There is an asp button control on that page that I would like to use to close the dialog box. In my research on how to do ...
2
votes
1answer
34 views

How do I populate a primary page with some data entered in a modal dialog box

I used OpenPopupPage to display an application page as a modal dialog box to collect some user input. I would like to take the results of that user input and populate two text boxes on the main page ...
1
vote
1answer
62 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. ...
2
votes
2answers
815 views

Show a message while loading modal dialog

I'm loading a modal dialog on a web part. Sometimes it takes a lot of time to load, like 6/7 secs. Here's the code: function Init(title, id) { var dialogOptions = SP.UI.$create_DialogOptions(); ...
2
votes
1answer
257 views

SP.UI.ModalDialog.commonModalDialogClose Doesn't Close

I'm using a ModalDialog and have a strange issue. On a button click server side in my popup, I've this line: this.Page.ClientScript.RegisterStartupScript(this.GetType(), "PopupScript", "popData = '" ...
0
votes
0answers
43 views

Cookie blank in Safari and iOS

I have a modal dialog that launches when a user first visits the site. The user selects a particular item, in the form of a radio button, and then a database query is made and the resultant ...
1
vote
1answer
34 views

Opening dialog box in 2010 CSS font changes

I've had this issue all along with my 2010 Foundation intranet site I maintain, and am wondering what I can do to resolve it. Here is the situation it arises in: I open a dialog box within ...
1
vote
2answers
774 views

How to Auto close ShowModelDialog box using JQuery?

I created a custom Ribbon button to generate a report in excel for my external lists. When I click on the ribbon button, A modal pop up is displayed. I want to auto close the modal popup after my ...
1
vote
1answer
32 views

Page with discussion board does not refresh after creating a new discussion within a modal dialog

I'm using the following code to allow users to create a new discussion topic in a modal dialog, rather than on a new page: // When called, this function opens the dialog. function openDialog(pUrl) { ...
0
votes
1answer
31 views

Login page insted of login prompt in Sharepoint 2013

I have been create a Team Suite site in Sharepoint 2013.When any body try to start seeing site pages a logon window like below image display : How I can show custom login page instead of this ...
1
vote
2answers
895 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 ...
0
votes
2answers
83 views

Easiest way to design a wizard-style modal dialog?

I would like to learn about what options I have if I want to design a modal dialog with a wizard that can call custom back-end C# code (I've never done front-end SP development). There seem to be ...
0
votes
0answers
110 views

Autohosted app - Modal Dialog: TokenHelper.GetContextTokenFromRequest returns null

When I try to open my autohosted app into a modal dialog, the method TokenHelper.GetContextTokenFromRequest returns null, because request.Form["SPAppToken"] is null. When I don't run my app into a ...
2
votes
3answers
810 views

Open a modal from a link in wiki-site: Sharepoint removes javascript

so I tried to add a little horizontal menu to a wiki-site and wanted one of the links to open in a modal Dialog (a contact form). Every time I try to add it about the UI, sharepoint removes the link. ...
0
votes
0answers
37 views

Refresh modal when item from List View Web Part is deleted

I have a relational list structure (Events, Tasks, Task Participants) with custom Display/Edit/New forms. The Event Display form has tabs to show Event details and Event Tasks (x tasks/event). The ...
1
vote
2answers
1k views

Trying to open a SharePoint List item in Modal Dialog in Sharepoint 2013 Office 365 (online)

Sorry for the long post. This has been killing me. I had this script working perfectly fine in SharePoint 2010 (online) and basically i have a source custom list (list A) with a hyperlink column and a ...
6
votes
0answers
443 views

Opening and closing AssetPortalBrowser.aspx in SharePoint modal popup

I am trying to open the "OOB" AssetPortalBrowser.aspx from a page within a SharePoint native modal popup. My aim is to get the selected filename back to the script. So far I was able to open the ...
3
votes
4answers
2k views

Prefilling field in NewForm.aspx in modal popup

I have a listview setup on my page which shows orders from an orderlist. Works great. Now I want to add a column which displays an icon. When the user clicks this icon, the NewForm.aspx page from ...
0
votes
2answers
67 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 ...
4
votes
3answers
302 views

Maximize modal dialog on SharePoint 2013

In SharePoint 2013, maximize button is missing when click on New item, and there is no way to maximize the modal dialog (opened by standard New or Edit item). I tried JavaScript method that works on ...
2
votes
1answer
480 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 ...
0
votes
0answers
23 views

sharepoint popupDialog not working after successive page reloads

I am using the following code to view a page as a popup window. function ShowModal() { prompt("hello"); ExecuteOrDelayUntilScriptLoaded(function () { var ...
1
vote
0answers
336 views

Submit form to page when opened by SP.UI.ModalDialog.showModalDialog

I am trying to open a SharePoint aspx file in the layouts folder in a dialog box. This file is designed to be opened in a dialog box so I dont need '?IsDlg=1' The issue is that the page loads ...