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?
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