The modal-dialog tag has no wiki summary.
0
votes
1answer
25 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
64 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
2answers
55 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
1answer
57 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
1answer
52 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
33 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
66 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
0answers
63 views
add new object not opened in a modal dialog for Sharepoint Photo Library
I created Photo library now For add new item i have written Javascript code and which works fine in IE,Firefox but not in Chrome browser i get a error as"Uncaught TypeError: Object # has no method ...
0
votes
1answer
32 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
940 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
210 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
31 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
150 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
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 ...
1
vote
1answer
67 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 ...
1
vote
1answer
27 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
0answers
31 views
Disabling the Dialog pop-up for Calendar views
It seems from my trivial Google searches, that some users find, for certain list types - an inconsistent experience related to modal dialogs.
In my scenario, we have a plain old SharePoint Foundation ...
0
votes
1answer
56 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
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
252 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 ...
6
votes
1answer
220 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 ...
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 ...
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
68 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
396 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 ...
0
votes
2answers
492 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
80 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, ...
2
votes
2answers
240 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. ...
0
votes
1answer
132 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
123 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
128 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
323 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 ...
1
vote
1answer
615 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 ...
0
votes
0answers
55 views
SPPageStatusSetter failing in SP modals, for some users
We're putting status messages on a page using the SPPageStatusSetter API (on the server end). This works absolutely fine until we open any pages inside an SP Modal.
For users in the App Owners group, ...
1
vote
1answer
504 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:
...
0
votes
1answer
232 views
Sharepoint modal popup don't shown when the Infopath form are on the site
I tried to add Infopath form on my project, but when I add the Infopath form some of PopUp which are corelated with Infopath and shows errors od data didn't shown What should I do to shown A Modal ...
5
votes
1answer
354 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 ...
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
1answer
387 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 ...
0
votes
0answers
78 views
Stop New Form opening in Dialog box
I have set up a number of surveys. I had to create custom new forms so that on submission the user was redirected to another site. I have done this before with no issues, only this time it opens the ...
1
vote
0answers
168 views
SP.UI.ModalDialog close method returns home.aspx
I have 4 webparts on home page. on maximizing any webpart opens a SharePoint modal popup. While closing that modal popup SP.UI.ModalDialog close method returns home.aspx in ajax call. And it takes 20 ...
2
votes
0answers
199 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 ...
1
vote
0answers
67 views
add new object not opened in a modal dialog
After installing Cumulative updates (August 2012 - only SharePoint server) now when you click "add new object" link to add new object to a lists on all pages (except document libraries) the NewForm ...
0
votes
0answers
19 views
newPage dialog using specified Pagelayout
i am using a PublishingWeb with three different PageLayouts. None of which is "more default" than the others...
Is there a standard-function that I can use to extend the siteActions-menu? Something ...
0
votes
1answer
192 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 ...
0
votes
2answers
236 views
How to send dynamic parameters in url of sharepoint modal dialog options
I have the following code for the javascript modal popup.
function ShowSearchBox() {
var options = {
title: "Search Here",
width: 760,
height: 380,
url: ...
0
votes
1answer
40 views
Getting zoneIDs easily and consistently?
I am working on a sort of app store, where a modaldialog pops up and shows a list of web parts that can be added to the page. The real issue is when I want to add a web part to the page; the ...
1
vote
0answers
64 views
a modal dialog that it's url has been copied not working properly
I've got a modal dialog with an upload control in it which is working with no problems. but when i try to copy the modal dialog's url (right click -> properties) and paste it in another ...
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 () {
...
0
votes
1answer
120 views
Custom ribbon button on 'Edit Properties' dialog box ribbon?
In a nutshell - I would like a button somewhere on the ribbon (custom action?) that, when clicked, will form a string which includes the current web's ID and the list item ID.
How do I go about ...






