I have Submit button in my SPModalPopup.
By clicking submit button, after executing some code, I want to close the ModalDialog & Refresh the parent page. How can I do this ?
I have tried different following methods individually, but none of them is working.
2) HttpContext.Current.Response.End(); (This always give me NullReferenceException)
options.dialogReturnValueCallback = Function.createDelegate( null, modalDialogClosedCallback);
and its modalDialogClosedCallback method, but still its not working.
Please help me to close this & refresh page from server side.