Tagged Questions

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
97 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
57 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
171 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
284 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
400 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
270 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
147 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
73 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
44 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
311 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. ...
2
votes
2answers
354 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
218 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
467 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
133 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
1answer
2k 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 ...
2
votes
1answer
102 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
330 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
74 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
801 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
604 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
127 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
2k 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
72 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
53 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
65 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
190 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
133 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 ...
1
vote
2answers
2k 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
0answers
83 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
105 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
3k 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 ...
2
votes
1answer
725 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 ...
6
votes
3answers
843 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
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 ...
0
votes
0answers
35 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
636 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
139 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
2k 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
286 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 ...
2
votes
2answers
1k 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
549 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
4answers
3k 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 ...
1
vote
1answer
747 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 ...
3
votes
2answers
2k 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
545 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 ...
3
votes
1answer
1k 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?
0
votes
1answer
49 views

Web Part not saving content

I developed a Web Part that shows a Modal dialog. An iframe is returned from that dialog and with javascript, pasted into a div on the web part. This is rendered and everything works fine but it does ...
0
votes
0answers
46 views

Add content to Web Part from Modal

I'm showing a button, when editing the web part, so the user can click and a modal popups up. This modal should have a couple of option, doesn't matter now, but then I want to save the content so that ...
0
votes
1answer
63 views

Send Row Data to Dialog Box for Editing

I have created a custom ribbon button in SharePoint 2013 which enables when 2 or more files are selected and opens a dialog box. Within this dialog box, I would like to open a custom page which ...
0
votes
3answers
2k views

Custom web part in a modal dialog pop-up

Can we display a custom web part (developed in visual studio 2010) in a modal dialog pop-up? If yes then how can we do that... any tutorials or article? Thanks!