0
votes
1answer
63 views

Issue with SP.UI.ModalDialog.showModalDialog. Page is not being open

I have issue with SP.UI.ModalDialog.showModalDialog. I am working on SharePoint 2010 web-part. In that I need to open the page in SharePoint custom popup. So I have used ...
0
votes
0answers
14 views

Open item dialog box just in standard view

Is it possible to open only items on standard view in a dialog box? I have a second view where i want to open the item as new window. I worked with some javascript in the sharepoint designer, but it ...
0
votes
3answers
463 views

How to use SP.UI.ModalDialog.showWaitScreenWithNoClose to display custom loading message?

I use a modal dialog to display my custom aspx page. However, the page takes some time to load, and I would like to provide custom loading message while the modal dialog is loading. I found out here I ...
0
votes
0answers
25 views

Managed metadata not loaded in standard metadata-dialog

I have a standard SharePoint list which has a (required) Managed metadata-column. When I want to add a new item and click on the icon to show the Managed metadata-dialog, the dialog opens but nothing ...
0
votes
1answer
79 views

collection has not been initialized after dialog modal closes

I have two JS scripts on my SharePoint 2010 page, one in the master page, one in a forms web part (I've attempted this with a CEWP as well). Both are in unique name spaces (My.Tabs and ...
2
votes
1answer
39 views

2010: How to get rid of the bottom Cancel button (not the close X Button) in a modal dialog page which uses dialog.master as Master Page?

My custom dialog page uses dialog.master as master page. It shows a Cancel button at the bottom right of the dialog box, which closes the dialog instantly. Since I implemented my own cancel button ...
2
votes
1answer
53 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
546 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 ...
1
vote
1answer
46 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 ...
0
votes
2answers
139 views

Easiest way to design a wizard-style modal dialog?

I would like to learn about what options I have if I want to design a modal dialog with a wizard that can call custom back-end C# code (I've never done front-end SP development). There seem to be ...
0
votes
2answers
79 views

close modal dialog in sandbox solutions

i tried to close the modal dialog in sandbox solution using the following code HttpContext context = HttpContext.Current; context.Response.Write("<script ...
1
vote
1answer
548 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 ...
0
votes
3answers
2k views

Custom web part in a modal dialog pop-up

Can we display a custom web part (developed in visual studio 2010) in a modal dialog pop-up? If yes then how can we do that... any tutorials or article? Thanks!
0
votes
1answer
110 views

Displaying results of SPQuery in web part that allows multiple selection

I'm trying to design a dialog window that will allow a user to add multiple users to multiple SharePoint groups simultaneously. A user can be an Owner of multiple teamsites, and we need a dialog that ...
4
votes
2answers
600 views

Object #<Object> has no method 'showModalDialog'

Consider the following code: var options = { title: 'Create a new Post' autoSize: true, url: url } SP.UI.ModalDialog.showModalDialog(options); The code is executed from a ECB custom ...
2
votes
1answer
151 views

What is the id of the close button on a modal dialog?

I have a modal dialog and I want to change some of its properties through javascript. I have found the jquery code jQuery("a[id^='DlgClose']") but when I try to use the javascript ...
0
votes
2answers
247 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
1answer
118 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 ...
1
vote
0answers
138 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
3answers
1k 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
3answers
567 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
282 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 ...
9
votes
1answer
190 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 ...
0
votes
1answer
113 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, ...
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 ...
2
votes
2answers
855 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, ...
0
votes
1answer
690 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 ...
3
votes
2answers
2k 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 ...
2
votes
1answer
1k 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
2k views

Show Ribbon in modal dialogs

In the current project, they applied some branding, and for some reason the ribbon is hidden in modal dialogs like when creating a discussion board, task or any list item. I cant find how they hide ...
3
votes
4answers
2k 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 ...
4
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, ...
5
votes
1answer
511 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 ...
3
votes
3answers
5k 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?