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
28 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 ...
0
votes
1answer
27 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
18 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 ...
0
votes
1answer
45 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
3answers
180 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
1answer
48 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
62 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
57 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
25 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
45 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. ...
1
vote
2answers
67 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 ...
3
votes
1answer
81 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..
0
votes
1answer
64 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 ...
2
votes
1answer
50 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
110 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
54 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
31 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 ...
2
votes
1answer
145 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 ...
1
vote
1answer
57 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
0answers
42 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 ...
2
votes
1answer
236 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 = '" ...
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
30 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
1answer
33 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 ...
0
votes
2answers
80 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
107 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 ...
0
votes
0answers
36 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 ...
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 ...
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 ...
1
vote
1answer
281 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 ...
4
votes
3answers
301 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
460 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
320 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 ...
0
votes
0answers
87 views

App - Create Item for List with Modal Dialog

I want to open the Dialog to create Items for a List in my App with the SP.UI.ModalDialog I have the following method to open the dialog: function OpenDialog(URL) { var options = { url:URL, ...
1
vote
2answers
800 views

How to pass values from SP UI Modal Dialog back to the server side code upon button click event

I have a click event on a button that opens a sp ui modal dialog page. and returns a specific value from a text area on that page. I was able to open the page in the modal dialog and able to return ...
0
votes
0answers
130 views

SharePoint Modal Dialog Box not launching when on live server

I have an aspx page, which contains a file upload control, which has an onClientClick method which triggers a javascript method to pop out a modal window informing the user to wait: <table ...
1
vote
2answers
753 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 ...
0
votes
1answer
419 views

SP.UI.ModalDialog.showModalDialog IE7 compatibility

I am having a similar issue as the following question: SP.UI.ModalDialog.showModalDialog not working with IE7 The problem is, the resolution to that question doesn't apply to my specific scenario: I ...
1
vote
2answers
863 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
0answers
77 views

pre populate fields in modal document upload window

Ive been strugling with this all day, every solution ive found seems to be about how to pass in arguments into modalwindows. But nothing on how to populate fields with them :/...what also complicate ...
0
votes
1answer
315 views

SharePoint 2010 Modal Dialog on Page Load

I have created an application page that mimics an input form. This form will eventually go into an SP List with other forms. What I'm after is when a user clicks the link to the form from the SP ...
0
votes
0answers
209 views

Modal Dialogue for List Edit Form

Working to create a link to a modal dialogue box which contains the edit page for a list item. Background: I'm using SPServices to query a custom list, and render the data in a HTML table formatted ...
0
votes
0answers
161 views

SP.UI.ModalDialog.showModalDialog which is displaying a live camera videos will stop working on IE 9 after a while

I have the following code inside a code snippet on my SharePoint 2013 team site:- <script type="text/javascript" unselectable="on"> function showDialog() { var options = { ...
2
votes
2answers
805 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(); ...
0
votes
1answer
195 views

Forcing showModalDialog() when an item is clicked from a web part links list

We have a web part on a page that refers to a simple list with two fields: Title and URl. Obviously, this list is used by the end user to show links to various items (google, etc) on the web part in ...
0
votes
0answers
65 views

Update Web Part Property not working

this is my code: [Category("TripleChoice Settings"), Personalizable(PersonalizationScope.Shared), WebBrowsable(true), WebDisplayName("Parameter"), WebDescription("")] public ...
3
votes
1answer
762 views

Is it possible to use SP Modal Dialogs in App Pages?

I have a provider hosted App and need to use modals in my App Pages. Is it possible to use SP Modal Dialogs from SP.UI.Dialog.js ? What JS files are required to be included?