The modal-dialog tag has no wiki summary.
7
votes
2answers
4k views
SP.UI.ModalDialog.showModalDialog using the html option
http://msdn.microsoft.com/en-us/library/ff410058.aspx says that you can use the option html to display html text in a modal.
I have a string like this;
var html = ...
6
votes
1answer
3k views
How do I show a loading div when opening a modal dialog from a CustomAction?
I have created a new CustomAction which is a new item (link) in Site Actions menu.
When you click it, it opens a modal page (aspx). Everything works fine, but it takes about 3 seconds to open the ...
6
votes
1answer
215 views
Modal Dialogs and Minimal Download Strategy
I am having the following issue in SharePoint 2013 Online (Office 365 Preview): when I try to display in a modal dialog a page that relies on MDS (Minimal Download Strategy), the dialog opens but then ...
5
votes
1answer
353 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 ...
4
votes
4answers
2k views
Detect if modal dialog box
Is there a way to detect using sp.js or jquery to detect if the current context is in a modal dialog box?
Im not sure I explained that right, so here is a situation:
We have a branded system master ...
4
votes
4answers
3k views
Sharepoint 2010 Modal Dialog Box is cropped
I am working on SharePoint 2010 project with custom master page. I am having this problem where contents on my modal dialog box is cut off (see below).
I have spent hours googling and using firebug ...
4
votes
1answer
2k views
Open modal dialog from code-behind with parameters
What I need to do is to open an aspx-page in a modal dialog when the user clicks on a asp:button.
Currently I'm doing this:
(Markup)
<asp:Button runat="server" ID="TestButton" Text="Add ...
4
votes
3answers
3k views
Open a different page within a modal dialog
On button click i am opening maodal popup and containing a custom webpart.
The custom webpart inside modal popup has a button, on click of this i want to open another modal popup but while doing this ...
4
votes
3answers
304 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 ...
4
votes
0answers
69 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 ...
3
votes
2answers
2k 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
3answers
2k views
Rich Text fields in New Item Dialog - IE9
I had an issue with a number of things due to upgrading my web application's master page to utilize IE9 for HTML 5 and CSS 3 goodies. The problem is this breaks a LOT of things in SharePoint 2010.
...
3
votes
2answers
2k views
Trying to redirect after closing Modaldialog, but parameters aren't set
I have a layouts page which creates a new site. I use SP.UI.ModalDialog to show the site. I've created the following js function I use to pop it up:
function PagePopupAndRedir(fileUrl, fileTitle, ...
3
votes
2answers
1k views
Multiple SharePoint 2010 modal-dialogs
Is it possible to show multiple modal-dialogs above each other?
It should work like this:
1) User clicks link that opens first modal dialog
2) in first modal dialog, user clicks another link that ...
3
votes
2answers
1k views
How to modify width of standard dialog form sharepoint 2010
Please, help me!
I need to modify width of standard dialog form for adding element into library.
If I click to ribbon button for adding element, form opened with width=402px:
<div ...
3
votes
2answers
777 views
Is it possible to access the web part properties from a dialog?
In my web part I use the create_DialogOptions JS function to create a new aspx site as a dialog box. That works fine. Now I would like to have access to the custom properties from the web part.
I ...
2
votes
2answers
53 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 = ...
2
votes
3answers
200 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)
{
...
2
votes
2answers
586 views
Can't get a basic Modal to work on 2010
I'm migrating a project from SP2007 to SP2010. I want to get a modal popup to work, to open up the New Item window of a list from an aspx page. I can't get the modal to work in the most basic example, ...
2
votes
1answer
1k views
SharePoint Modal for Document Upload: changing the Dialog options for Edit Form
So I am using the Upload.aspx for doc lib with GUID in order to have Upload at a custom spot on a page. I think its the edit form that pops up right after you upload a document to add the metadata. ...
2
votes
2answers
103 views
Are the pop-ups in 2010 enforced?
I'm not a fan of the popup list add/edit dialogs to add content in 2010, is there an alternative UI, or is this something I have to get used to?
2
votes
2answers
234 views
Open a modal from a link in wiki-site: Sharepoint removes javascript
so I tried to add a little horizontal menu to a wiki-site and wanted one of the links to open in a modal Dialog (a contact form). Every time I try to add it about the UI, sharepoint removes the link. ...
2
votes
2answers
4k views
SP2010 Using Modal Dialog for Forms : Beginner Questions
So I am trying to figure out how to use some java script in order to use a modal dialog to display new item form. The below is what I have thus far, but its not working and I am not sure what portion ...
2
votes
2answers
1k views
Content Types “Link to document” and open in Dialog
I have a new Document Library and have added the content type "link to a document" to the library. Somehow when I create a new "link to a document" item in the library the dialog won't open. Instead ...
2
votes
3answers
3k 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 ...
2
votes
3answers
917 views
Prefilling field in NewForm.aspx in modal popup
I have a listview setup on my page which shows orders from an orderlist. Works great. Now I want to add a column which displays an icon. When the user clicks this icon, the NewForm.aspx page from ...
2
votes
4answers
4k views
SP.UI.ModalDialog.RefreshPage from the dialog itself?
I have customized the display form on one of my list.
On a webpart page, I have drop a view to this list. When I click on the title of my item, the custom disp form is shown as expected in a modal ...
2
votes
1answer
2k views
Close modal dialog and redirect to previous page with parameter
I have opened up a page in a modal dialog by using
OpenPopUpPage('myPage.aspx')
The page contains a button. Clicking on the button should cause the modal dialog to close, perform some server side ...
2
votes
1answer
249 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
902 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
236 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
2answers
47 views
Prevent/override standard Modal Dialog close button(X) from closing
I want to validate custom modal dialog form and if its not ok, prevent form from closing.
For this purpose, I attached to X-close-dialog-button. Problem is to prevent it's default behavior.
function ...
2
votes
1answer
51 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
238 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
0answers
194 views
Opening and closing AssetPortalBrowser.aspx in SharePoint model popup
I am trying to open the "OOB" AssetPortalBrowser.aspx from a page within a SharePoint native model popup.
My aim is to get the selected filename back to the script. So far I was able to open the ...
2
votes
1answer
115 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
382 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
167 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
176 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
1answer
299 views
Using Sharepoint Modal
we are implementing a feature in sharepoint where the user can share documents, we are reworking our own UI to make it easier for the end user. We have a modal popup where you can select multiple ...
1
vote
1answer
822 views
Customize Sharepoint 2010 Ribbon in Dialog ONLY
In the screenshoot below I pasted the Dialog of the NEW ITEM on top of our website.
The ribbon bar selected in red, we want to change it, but it should be different to the ribbon bar in the normal ...
1
vote
1answer
493 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
338 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
2answers
1k 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
1answer
100 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
968 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
26 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
595 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
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
3answers
219 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 ...