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
438 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
3answers
6k views

Possible to close a Modal Dialog from code behind?

I am popping up a Custom Application Page using a call to SP.UI.ModalDialog.showModalDialog. Is there a way that I can close the dialog from the code behind after a user clicks a button?
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
45 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
45 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
59 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
3answers
6k views

SharePoint parent page refresh on close of Modal Dialog, IE issue

I have a Webpage in which two webparts are installed. This is a system wherin user can make holiday request and manager can approve or reject. In 1st webpart The holiday requested by a user is shown ...
2
votes
2answers
431 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
119 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 ...
2
votes
1answer
456 views

show modal dialog for list with opened ribbon

I need to display a standard list inside a modal dialog. Currently I'm using SP.UI.ModalDialog.showModalDialog(..) and I'm building the URL like this: options.url = ...
0
votes
3answers
3k 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)" ...
9
votes
1answer
197 views

Passing args to QuickLinksDialog with JS

I have a small button on a site which when i press should start a QuickLinksDialog and fill in some of the fields there. Everything goes good and well except the fields (like: title and url) still ...
0
votes
0answers
482 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
1answer
159 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 ...
4
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
151 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. ...
1
vote
0answers
140 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 ...
2
votes
1answer
157 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
70 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
230 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
107 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
747 views

Content in modal pop up is empty

I have a sharepoint hosted app page. I have a link in it. Clicking on it it should open a modal pop up whose url is the home page of the sharepoint site. I am able to open a modal pop up window ...
2
votes
2answers
309 views

Get Modal Dialog Close button

I have override new item form for list, opening myPage.aspx where this javascript is in the "PlaceHolderAdditionalPageHead": function fGetCloseBtn() { var closeButton = ...
0
votes
1answer
401 views

Modal Popup wont popup unless page is checked out?

I have a strange situation whereby I have written my own code to open a modal popup window as shown below: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ...
0
votes
2answers
285 views

How to hide “Save” button on the MS Dialogue (pop-up) Ribbon?

I want to hide the "Save" button in the pop-up window which appears when we add new item. I tried using javascript getElementById to hide in NewForm.aspx page but it didn't work. Update: I ...
0
votes
2answers
1k views

Redirecting to a new web page after adding a new item in the list

After clicking "Save" button in the pop-up (for adding a list item), I want to redirect to a page to show them a message "Success" or at least an alert window called "Success"? How can it be ...
0
votes
1answer
151 views

How to change the button text of MS Dialog Pop-up?

I have an event calender. When people add events to it, a workflow is started automatically. When they click add a pop-up appears. I want to change the button text from "Save" to "Request". How can it ...
0
votes
1answer
2k views

SPLongOperation only starts at operation end

I'm using an AppPage showed up in a ModalDialog and when I click on a button action I try to start a SPLongOperation process, but it only shows the processing panel right before it ends. here is the ...
2
votes
3answers
2k views

Detect Modal Dialog Close with JQuery

In my application, I am trying to hide scrollbars in the parent window when a modal dialog is opened... I've added this to my Master Page: $(function(){ if(window.frameElement != null) { ...
0
votes
1answer
159 views

SPGridview Sorting issue with Modal control - Double postback

I'm having a a issue related to Sharepoint/ASP.Net Postbacks. Basically, what's happening is I have the following GridView on my page: <SharePoint:SPGridView EnableViewState="false" ...
1
vote
2answers
788 views

Open SP.UI.ModalDialog within another ModalDialog

Can I open SP.UI.ModalDialog within another ModalDialog? I mean, I can, and opening works fine. What does not work, is closing second dialog. Neither default buttons for maximizing and closing window ...
2
votes
3answers
5k views

SP.UI.ModalDialog does not close

I have custom field. This field contains video. In Render method I open modal dialog (SP.UI.ModalDialog), and inside of this dialog I display a video (with WebControls:MediaWebPart). The modal is ...
1
vote
1answer
271 views

what is delete command for sharepoint menuitemtemplate

MenuTemplate menuTemplate = new MenuTemplate(); menuItem = new MenuItemTemplate("Delete document", "/_layouts/images/delete.gif"); menuItem.ClientOnClickScript = ""; // What should I put ...
0
votes
1answer
157 views

SharePoint; Javascript repeating click event already on page

I have a SharePoint calendar, and I've got some Javascript code to force a calendar overlay event to open in a modal dialog. Basically, it forces them to open in a modal dialog via this code: ...
2
votes
1answer
2k views

Open workflow initiation form in modal dialog

Currently when I click on a custom action to run a workflow on a selected item the browswer navigates away from the current page to display the initiation form. This wouldn't be a such a problem ...
1
vote
2answers
2k views

Print from Modal Dialog

I would like to print everything in a newform.aspx/editform.aspx modal dialog. I was considering creating a Web Part or a bit of JavaScript that was nothing more than a print button that specified ...
0
votes
2answers
1k views

Open page as modal dialog from ecb

When I click manage permission button in ecb menu in a list a new user.aspx page is opened. I want to open this page in modal dialog. How can I do it? I know about msdn and this solutions, but the ...
1
vote
0answers
103 views

Problem with List New Form and Edit Form modal dialog configuration

I created a List Definitions,with two content Type and custom NewForm. Now I want to disable modal window only for Display Form. The property NavigateForFormsPages="TRUE" disable all modal dialogs ...
0
votes
3answers
622 views

Modal Dialog lose state after postback

I have a master detail kind of scenario. The detail (edit form) will be open in a Modal Dialog according to the setting below function OpenDialog(pageUrl, title) { var fullUrl = relativeUrl ...
1
vote
2answers
2k views

How can i get ModalDialog.args in aspx-page codebehind?

I have a button, that opens Modal Dialog using SP.UI.ModalDialog.showModalDialog(options) Options contains field "args". I can read this "args" using window.frameElement.dialogArgs in javascript code ...
1
vote
0answers
149 views

Change Close-Button Link when opening Link from Modal in new tab/window

So, this is my scenario: In SharePoint 2010, I have a custom List ("events") with multiple lookup-fields to other lists (for this example: "contact persons", "location") in it. I got two list-views, ...
0
votes
1answer
216 views

Javascript in SharePoint:MenuItemTemplate

I have Created one aspx page and write in Main Content. I want to call SharePoint Modal Popup script on click event in sharepoint:MenuItemTemplate. How can i call javascript for modal popup in in ...
0
votes
3answers
650 views

How to hide the header of Upload Document Dialog? [duplicate]

I am trying to get rid of the master page header that appears on the Upload Document popup. How can I accomplish that? Is there any specific css classes that I can use? When I view the page source ...
0
votes
1answer
309 views

How to change the style of Upload Document Dialog box?

I am building a SharePoint 2010 intranet. I want to get rid of the master page heading in the popup dialog box (Upload document and display other things). How can I get rid off the master page heading ...
4
votes
3answers
931 views

Commit modal dialog and then display notification

I have a modal dialog that I commit by calling window.frameElement.commitPopup(), and this is great because it refreshes the parent window. However I would also like to display a notification on the ...
2
votes
1answer
5k views

How to open a form in a modal dialog popup using C#

I have virtually no experience with web development but now I need to create a web part for SharePoint 2010 and I am stuck. The web part is supposed to find all content types derived from folder ...
1
vote
1answer
2k views

Immediately closing a modal dialog from code behind

I am calling a modal dialog. The dialog should perform an action in the code behind, then immediately close and show a notification in the parent window. I am using the following bit of code: ...
5
votes
1answer
530 views

How to add a “processing” gif to a Modal Dialog?

I am popping up a Modal Dialog using SP.UI.ModalDialog.showModalDialog. From the time that the modal pops up until the controls render on the page there is sometimes a bit of a lag. What I would ...