本文介绍了在CommitPopup上有条件刷新父页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 大家好, 我在sharepoint webpart中打开一个模态弹出窗口。它有两个按钮,即Save和Cancel。 当用户点击Save按钮时,必须关闭模态弹出窗口并刷新父页面。但是当他点击取消按钮时,弹出窗口必须关闭,但不应刷新父页面。请帮我一个方法来做到这一点。我经历了很多网站但找不到任何答案。 谢谢, Srivikas。解决方案 Hi everybody, I am opening a modal popup in a sharepoint webpart. It has two buttons i.e. Save and Cancel.When the user clicks on Save button, the modal popup has to be closed and the parent page should be refreshed. But when he clicks on Cancel button, the popup has to be close but the parent page should not be refreshed. Please help me with a way to do this. I have gone through many sites but could not find any answer.Thanks,Srivikas. 解决方案 这篇关于在CommitPopup上有条件刷新父页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 09-01 23:28