我点击左边树的节点时,去刷新右边的页面,但是有时候
刷新页面的时候出现这样的提示"不重新发送信息,则无法刷新网页.请单击"重试"再次发送信息或单击取消返回正查看的页"  现在要去掉这个警告框,改如何解决?我的刷新代码是:
Response.Write("<script> parent.frames(\"rightdate\").document.location.reload();</script>");
恳请各位帮忙!急

解决方案 »

  1.   

    Response.Write("<script> parent.frames(\"rightdate\").document.location.href=parent.frames(\"rightdate\").document.location.href;</script>");
    这样就可以了
      

  2.   

    to  mazekui(悠悠春竹)
    具体怎么写呢?我写了好多都传不过去. 我是需要传递一个值过去.
      

  3.   

    to jenyfloat(飘) 
    还是不行,右边框架里的页面根本都不执行
      

  4.   

    你现在右边的页面打开的时候需要传递什么参数啊?
    比如有两个参数a和b那么你刷新的时候就可以:
    parent.left.location.href='b.aspx?a=sdfd&b=dffdfd'
      

  5.   

    传递一个变量,如 condition. (condition是一个具体的表达式).
    'webDCC_FileManagementA.aspx 是转的页面.
    Response.Write("<script> parent.frames(\"rightdate\").document.open('webDCC_FileManagementA.aspx?id1=" + Condition.Trim() + "');</script>");上面的语句执行后,页面不能转到该页面上去
      

  6.   

    你的是框架页面?
    如果是的话,你在left.aspx点击结点的时候执行
    window.open("Right.aspx?folderID="+ dd ,"fraRightFrame")
    fraRightFrame是右页面right.aspx的标识
      

  7.   

    最后解决办法在
    http://community.csdn.net/Expert/topic/3518/3518025.xml?temp=.6513941
    结贴了