SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.