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'"
这句去掉并写一个事件
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'"
你说的方法不行,能不能就在html里改
改为
OnChanged="<javascript:iFrameRight.src='Examining.aspx'>"
href去掉
这句去掉并写一个事件
private void ddlWedlock_SelectedIndexChanged(object sender, System.EventArgs e)
{
Response.Write("<script>iFrameRight.Location.href='Examining.aspx'</script>";
}
或者直接用html的select不要用服务器控件
改为
OnChanged="<javascript:iFrameRight.src='Examining.aspx'>"
sorry,写错了应该是:OnChanged="javascript:iFrameRight.src='Examining.aspx'"
又习惯性的把<>加上去了^_^!