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

1
vote
1answer
188 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
127 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
1k 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
98 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
583 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
124 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
194 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
393 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
254 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
791 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
3k 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: ...
0
votes
1answer
259 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
469 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 ...
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 ...
1
vote
0answers
201 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 ...
1
vote
0answers
73 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 ...
1
vote
1answer
309 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
393 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
114 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
79 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
178 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
162 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 ...
2
votes
1answer
266 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 ...
1
vote
2answers
10k 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 ...
3
votes
3answers
3k 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. ...
0
votes
1answer
110 views

Modal Dialog containing a webpart

My ideal situation is to have a "Preview" option available for subsites. I thought perhaps a good way of doing this would be to have a modal dialog pop up containing some of the subsite's information, ...
2
votes
1answer
499 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 ...
0
votes
3answers
5k views

Open modal dialog from code behind

I have a grid where you can select items, a drop down and a button. You can select an action from the dropdown and the click the button to open the modal dialog. I need to put the id of the selected ...
0
votes
1answer
119 views

Change dialogWidth and dialogHeight's values

The calendar web part is too wide and want to change dialogWidth and dialogHeight's values from 500px to 300px. Is it possible to change dialogWidth and dialogHeight of a web part like changing the ...
0
votes
1answer
234 views

Multiple modal dialogs - can not cancel or submit the second modal dialog

I have problems with multiple modal dialogs using IE 9 browser. When I click on the Ok or Cancel button on the second modal form, I get following exception from my js code. http://imgur.com/qlL1H ...
9
votes
2answers
8k 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 = ...
0
votes
1answer
439 views

AllItems View of Query String: can I group using value in query string?

Can I somehow how a query string to show a group of documents within a given library. Not one single item, but the AllItems like view. So within the library I have a grouping type of id value in a ...
1
vote
1answer
458 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 ...
2
votes
2answers
792 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. ...
0
votes
1answer
579 views

use jQuery Modal instead of SharePoint modal

So I understand this is a strange question, but is there a way to use content displayed in a SharePoint modal, in a jQuery modal instead. I like the styling jQuery offers, but the SharePoint modal ...
1
vote
1answer
157 views

Drop off Library - Display Forms in a Dialog Disabled now Router Message displays as Dialog Box

When using the Content Organizer site feature I have a content type that uses a custom field that doesn't render very well in side the Modal Dialog box. So I have disabled this function on the Drop ...
2
votes
2answers
2k 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 ...
5
votes
4answers
5k 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 ...
0
votes
1answer
287 views

Disable modal dialog in view with group by

I'm creating a solution using SharePoint 2010 that contains a list (list1) with a lookup column (list2_column) to another list (list2). The main view for list1 is grouped by list2_column. Both lists ...
0
votes
1answer
825 views

Need Sharepoint like modal pop-up window

I need to show Sharepoint 2010 like pop-up window when clicked on a link in grid view. Once the modal pop-up displayed and user selected the Save button data base should be updated with given values ...
2
votes
1answer
3k 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 ...
4
votes
3answers
4k 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 ...
2
votes
1answer
322 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 ...
1
vote
1answer
676 views

SP2010 Passing Value to New Item Form Modal using Client Object Model/SPD

Beginner. I have a list form that opens from page using SP.UI.ModalDialog. The form is to represent entries into a description list based on ID from parent list. The page has tabs that allow user to ...