我用iframe了, 怎么不能刷父页面,调试时连window.opener 也是undefine 我用iframe了, 怎么不能刷父页面,调试时连window.opener 也是undefine 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Response.Write("<script language=javascript>parent.frames["iframe1"].reload(true);</script>");Response.Write("<script language=javascript>window.location.href='';</script>");------------------------http://fenglin.xland.cn------------------------ <table > <tr valign ="top" > <td > <asp:TreeView ID="TreeView1" runat="server" ImageSet="Inbox" BorderWidth="1px" Width="168px" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged"> <ParentNodeStyle Font-Bold="False" /> <HoverNodeStyle Font-Underline="True" /> <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" BackColor="Fuchsia" ForeColor="#FFC080" /> <Nodes> </Nodes> <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" /></asp:TreeView> </td> <td > <iframe id="iframe1" style="width: 1100px; height: 1000px" runat ="server" ></iframe> </td> </tr></table>是这种结构,我是想iframe的用户重新登录,刷新树。 这种方式直接使用parent.reload(true);应该是可以的 Click the link to solve your problem.Good luck! 100分讨论网站中使用存储过程和SQL语句 用profile的好处 关于DataReader何时关闭的问题! 请教:网站做好了需要上传哪些格式的文件??? 请问下版主,我的问题没人答怎么结帖???? 在新闻提交的时候如果把新闻图片按比例缩小.. 紧急~~asp.net的“设计”页面打不开了啊~~ Jmail 的邮件回执问题 关于get和post,很有趣的一个问题,和一个做java的同学讨论了半天 有趣的问题?有趣的问题? 怎么查询一个字符串是否在不在一个字符串数组中? 应邀赴宴,作为男人不会喝酒(或则因身体原因,医生不准喝酒)在酒席上怎样应酬新老朋友呢?
Response.Write("<script language=javascript>window.location.href='';</script>");------------------------
http://fenglin.xland.cn
------------------------
<tr valign ="top" >
<td > <asp:TreeView ID="TreeView1" runat="server" ImageSet="Inbox" BorderWidth="1px" Width="168px" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
<ParentNodeStyle Font-Bold="False" />
<HoverNodeStyle Font-Underline="True" />
<SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" BackColor="Fuchsia" ForeColor="#FFC080" />
<Nodes>
</Nodes>
<NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
NodeSpacing="0px" VerticalPadding="0px" />
</asp:TreeView>
</td>
<td >
<iframe id="iframe1" style="width: 1100px; height: 1000px" runat ="server" ></iframe>
</td>
</tr>
</table>是这种结构,我是想iframe的用户重新登录,刷新树。
parent.reload(true);
应该是可以的