OnSelectedIndexChanged="iFrameRight.Location.href='Examining.aspx'"
这句去掉并写一个事件
private void ddlWedlock_SelectedIndexChanged(object sender, System.EventArgs e)
{
  iFrameRight.Location.href='Examining.aspx
}或者
OnSelectedIndexChanged="iFrameRight.Location.href='Examining.aspx'"
改为
OnChanged="iFrameRight.Location.href='Examining.aspx'"

解决方案 »

  1.   

    to:  reaperwu(RQ) 
    你说的方法不行,能不能就在html里改
      

  2.   

    OnSelectedIndexChanged="iFrameRight.Location.href='Examining.aspx'"
    改为
    OnChanged="<javascript:iFrameRight.src='Examining.aspx'>"
      

  3.   

    ="iFrameRight.Location='Examining.aspx'"
    href去掉
      

  4.   

    to:  liujiayu10(大宇)不行,还是同样的错误
      

  5.   

    OnSelectedIndexChanged="iFrameRight.Location.href='Examining.aspx'"
    这句去掉并写一个事件
    private void ddlWedlock_SelectedIndexChanged(object sender, System.EventArgs e)
    {
      Response.Write("<script>iFrameRight.Location.href='Examining.aspx'</script>";
    }
    或者直接用html的select不要用服务器控件
      

  6.   

    OnSelectedIndexChanged="iFrameRight.Location.href='Examining.aspx'"
    改为
    OnChanged="<javascript:iFrameRight.src='Examining.aspx'>"
    sorry,写错了应该是:OnChanged="javascript:iFrameRight.src='Examining.aspx'"
      

  7.   

    to:  xiahouwen(活靶子.NET)出现了另外一个问题  'iFrameRitht'未定义。另外由于下拉框的内容不是固定的,是由数据库得到的,如果用html的select不知道程序里面怎样操作,多谢
      

  8.   

    OnChanged="<javascript:document.getElementById('iFrameRight').src='Examining.aspx'>"
      

  9.   

    OnChanged="javascript:document.getElementById('iFrameRight').src='Examining.aspx'"
    又习惯性的把<>加上去了^_^!
      

  10.   

    runat=server的控件能够javascript:....?
      

  11.   

    没什么用,在事件  private void ddlKind_SelectedIndexChanged(object sender, System.EventArgs e)里应该怎样写Response.Write("<script>iFrameRight.Location.href='Examining.aspx'</script>");运行后,就报 “行 0 错误:iFrameRight未定义”,看了一下源文件,上面那一句在第一行。