关闭子[popup]窗口后如何刷新父窗口 [英] How to refresh the parent window after closing the child [popup] window

查看:73
本文介绍了关闭子[popup]窗口后如何刷新父窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,

告诉我关闭子[popup]窗口后刷新父窗口的步骤。



在父窗口中,我有一个显示所有用户详细信息的gridview。如果我点击查看按钮,它将在弹出窗口中显示相应的记录。



在子窗口中,我有一个详细信息视图其中用户可以根据gridview中的
选择来编辑各个细节。完成更新详细信息视图中的记录后,我必须关闭弹出窗口并且

更新的值应该在父窗口中更新。





请给我解决这个问题的方法。

解决方案

你应该去找Ajax ModalPopUpExtender编辑asp.net中gridview行值的示例 [ ^ ],在其中您可以在 Ajax ModalPopUpExtender 中显示详细信息。



将有按钮更新在Extender内部,点击它将更新行以及再次绑定 Grid ,以便刷新并显示更新的行。

Hi sir,
Tell me the steps to refresh the parent window after closing the child [popup] window.

In parent window , i have a gridview which display all the user details. If i click the view button, it will
display the corresponding record in popup window.

In Child window, i have a details view in which the user can edit the individual details depending on
selection in gridview. After finish updating the records in detailsview, i have to close the popup and
the updated values should be update in the parent window.


Kindly give me the solution for this problem.

解决方案

You should go for Ajax ModalPopUpExtender Example to edit the gridview row values in asp.net [^], in which you can show the details in a Ajax ModalPopUpExtender.

There will be button Update inside that Extender, on clicking of which you will update the row as well as Bind the Grid again, so that it will be refreshed and show updated rows.


这篇关于关闭子[popup]窗口后如何刷新父窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆