Tagged Questions
1
vote
2answers
34 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
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 ...
4
votes
3answers
285 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
575 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 ...
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 ...
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 ...
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
0answers
378 views
Retrieving Document Library item URL from ID
How can I retrieve the URL of an item/document in a (generic) document library when the only thing I have is the ID, obtained through:
SP.ListOperation.Selection.getSelectedItems();
My intention is ...
1
vote
1answer
392 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 ...
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 ...