When you want to refresh the parent page when user clicks on OK button on dialog page that you open from the parent page then you can use SP.UI.ModalDialog.RefreshPage
Usually we write this code in dialogReturnCallBack function.
Usually we write this code in dialogReturnCallBack function.
dialogReturnValueCallback: function(dialogResult)
{
SP.UI.ModalDialog.RefreshPage(dialogResult)
}
No comments:
Post a Comment