Tagged Questions
0
votes
1answer
42 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
0answers
45 views
Modal Dialogue for List Edit Form
Working to create a link to a modal dialogue box which contains the edit page for a list item.
Background: I'm using SPServices to query a custom list, and render the data in a HTML table formatted ...
0
votes
1answer
55 views
Forcing showModalDialog() when an item is clicked from a web part links list
We have a web part on a page that refers to a simple list with two fields: Title and URl.
Obviously, this list is used by the end user to show links to various items (google, etc) on the web part in ...
0
votes
0answers
23 views
Add content to Web Part from Modal
I'm showing a button, when editing the web part, so the user can click and a modal popups up. This modal should have a couple of option, doesn't matter now, but then I want to save the content so that ...
0
votes
0answers
100 views
Modal dialog for document library
First of all, my question. How do I make a working modal dialog popup for a document library, that shows details about that document upon clicking the document name in the library list?
Please note ...
0
votes
1answer
85 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:
...
0
votes
3answers
1k 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
0answers
160 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
89 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
0answers
155 views
Read Only or Edit prompt (call DispEx) in Callback
I have created a ribbon button for Document Library.
When user clicks the button, some changes will be applied to the document.
Once the changes are done, a method will be callback-ed and try to open ...
2
votes
3answers
548 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
217 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
154 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
0answers
107 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
92 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
2answers
515 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
161 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 ...
4
votes
3answers
603 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
256 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 ...
2
votes
1answer
146 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 () {
...
7
votes
1answer
140 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
352 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 ...
2
votes
4answers
5k 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 ...
1
vote
2answers
1k 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 ...
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
1answer
283 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 ...
0
votes
0answers
376 views
Modal Dialog Delegate Event not firing
I have a modal dialog that I call from my sender page:
function openCommentsDialog( ITEMID)
{
var DropDownListValue = document.getElementById("HideVal").value;
var options = ...
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 ...
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
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