On a SharePoint 2010 site how can I create an "Add New Item" link to the quick launch that will refresh the parent page when the new item is submitted?
I have used the following snippet to create the link:
JavaScript:var options=SP.UI.$create_DialogOptions();
options.url='http :// someurl.somedomain.com';
options.height = 400;
void(SP.UI.ModalDialog.showModalDialog(options))
but this does not refresh the parent page. So when the end-user submits their item they don't see the new item in the list.