从子窗口调用页面并返回到父窗口 [英] calling a page from child window and returning to parent window

查看:281
本文介绍了从子窗口调用页面并返回到父窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我有一个母版页(firstPage),然后我想显示一个新的页面(childPage)作为弹出窗口(在这里我正在使用JavaScript显示弹出窗口).从popup(childpage)检查某些条件后,我想重定向到另一个页面(第二页).当我尝试从弹出窗口调用时(子页面),第二个页面将显示在弹出窗口中.

Hi All,
I have a master page(firstPage) and then i want to display a new page(childPage) as a popup(here i am using javascript to display popup).from popup(childpage)after checking some conditions I want to redirect to another page(second page). when I tried to calling from popup(child page),the second page will display in the popup. how can display the second page in parent window?

推荐答案

类似本文的文章应该对您有所帮助:
Looks like this article should help you out: Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]
Your scenario just differs at the end. Instead of refreshing parent, kinda redirect is needed.


这篇关于从子窗口调用页面并返回到父窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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