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

2
votes
1answer
387 views

Globally intercept dialog close?

I have on a home page of one application a list view webpart. When a user click on the item title, a modal dialog is displayed to display the item. Is it possible to intercept the closing of the ...
2
votes
2answers
1k views

How to bring a value to SharePoint dialog

How can I bring a value to SharePoint Dialog to bind data. I call the dialog like this <input type="button" value="<%#((DataRowView)Container.DataItem)["Id"] %>" ...
2
votes
1answer
92 views

Change the Title on Document Library new item dialog

I have a document library where I only want users to upload images file types and nothing else. First question, when a user selects 'Browse', can I select the accepted extensions filter by default? ...
2
votes
1answer
708 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
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 = '" ...
2
votes
2answers
471 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 ...
2
votes
2answers
396 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 ...
2
votes
1answer
497 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 = ...
2
votes
1answer
373 views

How to Close SPModalDialog & Refresh page from Code behind in SandBox solution?

I have Submit button in my SPModalPopup. By clicking submit button, after executing some code, I want to close the ModalDialog & Refresh the parent page. How can I do this ? I have tried ...
2
votes
1answer
1k views

“Ribbon.Read” has not been made available for this page or does not exist

I have created a link to open up a new page in a model form. I get this error but I dont know how to fix this The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does ...
2
votes
1answer
266 views

Set the Column Value when show the NewListForm.aspx using SP.UI.ModalDialog.showModalDialog()

i want to set the selected SPList Title value when show the NewListForm.aspx using SP.UI.ModalDialog.showModalDialog(), could anyone help me to resolve this issue please?
2
votes
1answer
88 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 ...
2
votes
4answers
5k 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
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 ...
2
votes
1answer
198 views

Open MultiUpload modal form

Could you please tell me how to open a MultiUpload modal form, without using or displaying the single upload form? <script language="javascript" type="text/javascript"> $(function () { ...
2
votes
1answer
606 views

Pass values to default NewForm.aspx

I need to pass values from my list-view (calendar) to the default newform.aspx. As you propably know, you can click the "add" button on a day within the calendar view. Then the day get's automaticly ...
2
votes
1answer
331 views

making an SP.UI print dialog

I'm thinking of adding a print button to my list ribbon , the minute I click on this button a print dialog appears showing the list of the available printers on my computer. so this printdialog i was ...
2
votes
1answer
225 views

Strange behavior opening items from view after upgrade SP1 2010

After installation of SP1 for SP2010, the items in libraries no longer displayed in a dialog. On the list is indicated that the items should be displayed in a dialog. After research I found out when ...
1
vote
2answers
12k views

SharePoint Modal Help - pass value back to parent when closing

I'm using SharePoint Modals within my implementation, I've used these before and have basic experience with them. I do as much work as possible in C# and use JS where I have too :-) My current ...
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 ...
1
vote
3answers
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 ...
1
vote
4answers
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 ...
1
vote
3answers
80 views

Changing bg colour on a modal dialog box - s4-ribbonrow

I have a slight css issue and was hoping someone would be able to assist. I am in danger of being blocked asking any further questions so I'll try to be as clear and concise as possible :) I would ...
1
vote
1answer
66 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) { ...
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: ...
1
vote
1answer
526 views

How to deploy custom context menu item?

I made a custom SharePoint application page and now I want to open it from edit control block (item context menu). My XML won't compile because it is telling me that I have illegal characters in the ...
1
vote
1answer
589 views

Upload.aspx auto check/uncheck option to overwrite files from client side js/jquery

So if I reference the upload.aspx with guid, show that dialog from a link or something from a page, is there anyway I can get to the elements of that form? I only have javascript/jquery and designer ...
1
vote
1answer
141 views

Is there anything that automatically appends &IsDlg=0 to URL's?

We have some custom master pages and coded pages that generate URL's to lead to the profile pages and the log out page, however in some of the Blog pages that we have the Profile and Log Out page ...
1
vote
1answer
1k views

Use existing Modal Popup

i was wondering is there is a way to use existing modal popup already use by the sharepoint site and override their callbacks ? Thanks
1
vote
1answer
46 views

Opening a modal Dialog from a webpart

Im trying to open a dialog with the following code : printModal() { var options = { url: "www.hotmail.com", width: 550, height: 200 ...
1
vote
2answers
256 views

How to pass parameter from modal popup to parent window

I have a parent window which is a Display page of a list item. This page comes as a result of some redirection with custom querystring parameters to it. one of the querystring parameter is ...
1
vote
3answers
188 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 ...
1
vote
1answer
257 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
1answer
263 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; ...
1
vote
1answer
675 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 ...
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 ...
1
vote
1answer
735 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 ...
1
vote
2answers
1k 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
293 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 ...
1
vote
1answer
2k views

Refresh sending page from modal dialog popup?

I have a generic page below as a tester for refreshing the page from the closing of the Modal dialog window: <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import ...
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
3answers
261 views

Is this the best way to open a dialog for a custom page?

I did some looking around and I was planning on creating the following js function to open a custom page in a dialog: //Handle the DialogCallback callback function ...
1
vote
0answers
19 views

SPLongOperation window on the end redirects in itself

I have a small issue with SPLongOperation, basically what i'm doing i have something to happen in "OnPreLoad" method ... In this method i start a long processing operation and i call SPLongOperation, ...
1
vote
0answers
45 views

How can I have a list item from another host name site collection open in a modal dialog and function properly

Good Afternoon. I am using a Content search web part to pull list information from a different site collection and provide the results in a modal pop up. I have been able to accomplish displaying the ...
1
vote
0answers
36 views

Return value from modal dialog (application page) to toolpart

I have a Webpart with an ToolPart. In this ToolPart I open an ModalDialog displaying a List. When pressing Submit-Button or something like this, in the ModalDialog, I want to return a String to the ...
1
vote
0answers
65 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 ...
1
vote
1answer
550 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. ...
1
vote
1answer
62 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
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 ...
1
vote
0answers
615 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 ...