Tagged Questions

The Dialog Framework is a component that allows SharePoint to open pop-up dialogs inside the browser window for viewing forms.

learn more… | top users | synonyms

0
votes
1answer
103 views

How to close Dialog box?

I have Ribbon button that when it's clicked you get a dialog window open. On that window I have a button that I want to use to close the dialog window when clicked. This is the code for the dialog ...
0
votes
2answers
1k views

SharePoint modal dialog not showing up

I'm working with SharePoint modal dialogs but I have some problem making the call work. When I call the OpenPopUpPage (or OpenPopUpPageWithTitle) methods I'm getting the following errors Chrome: ...
4
votes
2answers
813 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 ...
0
votes
1answer
137 views

SP2010: possible to override styling of the upload aspx dialog from calling parent page

This may be a silly question, but I am wondering if it's possible to override styles for the upload.aspx dialog to customize the look...not from the upload pages content but form the calling 'parent' ...
0
votes
1answer
256 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 ...
2
votes
1answer
2k 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
2answers
5k 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 ...
3
votes
1answer
864 views

Hide upload Button on Asset Selector Dialog (AssetPortalBrowser.aspx)

I am looking to hide the "Upload" button in Asset Selector Dialog and I know Asset Selector Dialog uses Dialog.master in SharePoint. Is there a possibility to attach some custom jQuery/Javascript ...
1
vote
1answer
3k 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 ...
2
votes
2answers
1k views

How to bring a value to SharePoint dialog

How can I bring a value to SharePoint Dialog to bind data. I call the dialog like this <input type="button" value="<%#((DataRowView)Container.DataItem)["Id"] %>" ...
1
vote
3answers
262 views

Is this the best way to open a dialog for a custom page?

I did some looking around and I was planning on creating the following js function to open a custom page in a dialog: //Handle the DialogCallback callback function ...
3
votes
2answers
6k views

Custom Dialog Return Value

I have a custom page that I load in a SharePoint dialog. I call the javascript from an ASPX page, but when I close the dialog I want the javascript callback to "push" a value back to my ASPX page. Is ...
0
votes
2answers
540 views

Custom design messes upp dialog

I have made a custom design on my sharepoint and everything works great. But if i add a new list item or anything that uses the dialog popup. Then it doesnt work. Its like the dialog window inherits ...
2
votes
1answer
228 views

Strange behavior opening items from view after upgrade SP1 2010

After installation of SP1 for SP2010, the items in libraries no longer displayed in a dialog. On the list is indicated that the items should be displayed in a dialog. After research I found out when ...
4
votes
2answers
2k views

Is it possible to re-use the Sharepoint 2010 modal dialog(s)?

I need a simple 'Yes/No' modal dialog for a SharePoint web part, and I do not really want to re-invent the wheel here. SharePoint uses some very nice modal dialogs for this purpose, is it possible to ...
1
vote
1answer
741 views

branding problems in sharepoint2010

I am stuck in a situation where I do not understand the default behavior of SharePoint 2010 while using SPModalDialog. I am using codeplex starter.master for further customising and branding. I ...
3
votes
3answers
2k views

Is it possible to launch a modal that doesn't have the IsDlg property?

I need to open an external web page, say, http://google.com in a modal dialog. So if I were to do SP.UI.ModalDialog.showModalDialog(options); I get a modal window, however, it adds the IsDlg=1 ...
3
votes
1answer
2k views

Globally disable dialog boxes for all lists?

In SharePoint 2010, lists are set up to open modal dialog windows for item inserts and updates. I know these dialog boxes can be disabled on a list by list basis by going to List Settings -> Advanced ...
1
vote
1answer
2k views

Is it possible to lanch the workflow initiation form in modal window?

I want to have the initiation form inside a modal popup. Here's what I've figured out so far: To open the form insisde a modal dialog, I've included this inside the "Navigatate to Url" in the custom ...
9
votes
3answers
5k views

How to disable launch modal dialog in list definition schema.xml?

I have a sharepoint 2010 site template. The site template activates a feature that deploys several lists. Some lists need to open the new/edit/display forms in full page mode. Is there a way to ...
0
votes
3answers
518 views

Presenting Workflow status to the user

What is the best way to show a user that a workflow was cancelled? I have a manually triggered workflow. Are there any chance I can present the result of the workflow in a dialog, or do I have to ...
2
votes
3answers
1k views

SharePoint 2010: Using values specified through a modal dialog in web part code behind

In my custom SharePoint 2010 web part, I am allowing the user to specify his information in a model dialog window. I then need to use this information in my web part code behind for further ...
4
votes
2answers
335 views

Dialog Framework References

One of the new features in SP 2010 is the dialog framework, so that the user is presented with a uniform UI. What are the best references or tutorials you've seen about this feature? So far, this is ...