如何在ASP.NET中打开模式窗口后刷新父页面? [英] How to refresh parent page after modal window is opened in ASP.NET ?

查看:287
本文介绍了如何在ASP.NET中打开模式窗口后刷新父页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有一个页面,可以在Modal对话框中打开另一个页面。里面有一个提交按钮。如何在提交和关闭模态窗口后刷新父页面?

Hello all,

I have a page that opens another page in the Modal dialog way. There is a submit button inside it. how to refresh the parent page after submitting and closing the modal window?

推荐答案

通常,模态对话框页面中的提交按钮应刷新父页面,如果不是使用 Response.Redirect(...)重定向执行所需的页面。
Normally your submit button from your modal dialog page should refresh the parent page, and if not just redirect do the desired page by using Response.Redirect(...).


这篇关于如何在ASP.NET中打开模式窗口后刷新父页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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