Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

After adding a document to a sharepoint document library from an SPModalDialog, how can I refresh the underlying list using the new 2010 client object model in SharePoint?

share|improve this question

1 Answer 1

There are various approaches to achieve this:

You can use the SP.UI.ModalDialog.RefreshPage(SP.UI.DialogResult.OK);


In your ribbon button add the following CommandUIHandler :


Another mrthod is using the SPRibbonPostBackCommand

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.