本文介绍了在chrome中刷新父页面时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我使用以下代码从弹出页面更新父页面。该代码在Internet Explorer中运行良好,但在Chrome中运行不正常。请提出理由和可能的出路。
谢谢,
Atul
Hi All,
I am using following code for updating the parent page from pop up page. The code works fine in Internet explorer but not in Chrome. Pls suggest the reason and possible wayout.
Thanks,
Atul
Dim cstype As Type = Me.GetType()
Dim cScript As String
cScript = "<script language='javascript'> opener.location.href = '" & Session("varParentPage") + "'; </script>"
ClientScript.RegisterStartupScript(cstype, "parentwindow", cScript)
推荐答案
cScript = "<script language="'javascript'"> window.location.href = '" & Session("varParentPage") + "'; </script>"
-KR
-KR
这篇关于在chrome中刷新父页面时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!