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
2answers
380 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 ...
2
votes
1answer
141 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
75 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
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
1answer
422 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
56 views

OpenPopUpPage works for Chrome but not IE

I am at a lost why this works in Chrome but not IE. This is a link within a web part for SP 2010. <a ...
2
votes
1answer
98 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
869 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
2answers
540 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
477 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
519 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
403 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
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
2k 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
270 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
124 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
1answer
648 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. ...
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
201 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
643 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
229 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
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
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
3answers
181 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
74 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
3k 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
570 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
599 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
2answers
108 views

Modal Dialog not working in custom aspx page

Tried adding a Modal window but it just fails to work. The code itself works in a FormWebPart but not in a custom aspx page created via SPD. Working Code in FormWP <p><a ...
1
vote
2answers
71 views

Open Modal Dialog on Title click in list?

I have a Sharepoint-hosted app. When you click on "No Title" in a list you get a new window where the items is being showed. What I want is, when user click on "No Title" in the list it should pop up ...
1
vote
1answer
187 views

SP.UI.ModalDialog Close button

I have created a visual webpart in SP2013. and created a page and add that WebPart to the page http://server Name/Pages/survey.aspx to make this WebPart to show as a popup on the homepage every time ...
1
vote
1answer
71 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
456 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
219 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
361 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
404 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
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
762 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
321 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
265 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
1answer
97 views

Custom .aspx as modal dialog not working: 'SP' is undefined

SharePoint 2013 server... I have created a custom aspx page for use as a modal dialog. I want this pop up to collect field values and return them to the form the pop up was called from. The pop up ...
1
vote
0answers
36 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, ...