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
102 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
967 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
57 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
42 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
56 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
149 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
125 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
68 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
87 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
2k 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
587 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
603 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
1k 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
31 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
540 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
131 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
1k 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
245 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
495 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
3answers
2k 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
96 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 ...
1
vote
1answer
612 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
225 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
172 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 = { ...
3
votes
2answers
1k 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
400 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
95 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
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
42 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
44 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
56 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!
2
votes
2answers
398 views

RTE is not defined when inserting content

I've created a custom ribbon button where i load external content into a Modal Dialog. I want to insert some text on the editor and close the dialog. The function OnPopClosed is running when I click ...
0
votes
1answer
116 views

Displaying results of SPQuery in web part that allows multiple selection

I'm trying to design a dialog window that will allow a user to add multiple users to multiple SharePoint groups simultaneously. A user can be an Owner of multiple teamsites, and we need a dialog that ...
0
votes
0answers
463 views

Modal dialog for document library

First of all, my question. How do I make a working modal dialog popup for a document library, that shows details about that document upon clicking the document name in the library list? Please note ...
0
votes
3answers
2k views

XSL to customize XsltListViewWebPart - Sharepoint Foundation 2013

I have created an external list. After it's rendered, link for each item looks like the following: <a class="ms-listlink ms-draggable" onfocus="OnLink(this)" ...
0
votes
2answers
832 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: ...
0
votes
1answer
150 views

Sahrepoint dialog open event

I have an initiation form for my workflow. The form uses a people/user picker. This picker opens a dialog, in that dialog the div in which list of people appears comes with a small height in Internet ...
3
votes
2answers
1k views

Showing a modal dialog using html option in SP2013 seems broken

In SP2010 you could easily show a dialog using a DOM node with something like this: var test = "<div id='correspondence'>" + result + "</div>"; $('body').append(test); ...
1
vote
0answers
131 views

Sharepoint 2013 - External List view/edit item in modal dialog

I have an External List, reading from a WCF. When I open an item (view item), I want it to open in a modal dialog. The External Data Source has 'read item' and 'read list' set up from WCF services. ...
2
votes
2answers
365 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 ...
1
vote
0answers
139 views

Font changes within Announcement list - modal view

relatively easy question I have here and was hoping someone could help me out. I have tried to find the particular classes to update the standard SharePoint font (8pt, Verdana) within the body of an ...
2
votes
3answers
4k views

How to get result from SP.UI.ModalDialog.showModalDialog back to C#?

I have a code on a visual web part user control (see below): Could you please advice, how to get value from the callback function back to the C# in code behind to process it? <script ...
4
votes
2answers
650 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 ...
2
votes
1answer
156 views

What is the id of the close button on a modal dialog?

I have a modal dialog and I want to change some of its properties through javascript. I have found the jquery code jQuery("a[id^='DlgClose']") but when I try to use the javascript ...
1
vote
2answers
68 views

ModalupDialog not Working Properly

i had made Modalupdialog for Document Upload fro following Cod. <script type="text/javascript"> function RedirectUpload() { var tempUrl = ...
0
votes
2answers
222 views

Hide empty form fields in Modal - Dialog

I have encountered a problem with my previous question. The series of fields I do not want to display are not in the DispForm.aspx but in the modal dialog - I was under the impression the ...
0
votes
1answer
103 views

Lookup fields blank after dialogue

I have a problem on a SharePoint 2010 site. I have lists which contain Lookup fields. When I perform any action on the site that causes a custom dialogue to be displayed, the lookup fields become ...
0
votes
1answer
287 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 ...