我的default页面有这样一个frame框架,
<iframe src="msg.aspx" name="showup" id="showup" width="420" height="525" frameborder="0" scrolling="no" style="overflow-x:hidden" allowTransparency="true" ></iframe>我要怎样在default的linkbutton的cs窗体里面写代码激发命为showup的frame框架的页面转换

解决方案 »

  1.   

    顶,怎么没人回答,<script>window.parent.frames['showup'].location='message.aspx';</script> 这样写怎么不行??
      

  2.   

    <script>window.open(''message.aspx','showup','')</script>
      

  3.   

    <script>window.open(''message.aspx','showup','') </script>多了一个'<script>window.open('message.aspx','showup','') </script>
      

  4.   

    不行啊,我是target="showup" 激发名为showup的iframe页面转换哦,不是打开一个窗体
      

  5.   

    cs里直接写啊        protected void LinkButton1_Click(object sender, EventArgs e)
            {
                Response.Redirect("showup.aspx");
            }
      

  6.   

            protected void LinkButton1_Click(object sender, EventArgs e)
            {
                Response.Redirect("message.aspx");
            }
      

  7.   

    or
    <a href="message.aspx" target="showup">gooooo</a>