frame内 Ajax控件无效

来源:百度知道 编辑:UC知道 时间:2024/05/07 20:30:25
http://ajax.asp.net/ajaxtoolkit/
新发布的ajax控件,为什么在frame 内一点反应都没呢?

我的frame 代码。
<html>
<head>
<title>企业管理系统</title>
</head>
<frameset rows="*" cols="*,195" framespacing="0" border="0">
<frame src="../System/default.aspx" name="main" noresize marginheight="0"
marginwidth="0" frameborder="no" scrolling="yes">
<frame src="right.aspx" name="right" marginheight="0"
marginwidth="0" frameborder="no" noresize scrolling="yes" >
</frameset>
<noframes>
<p id="p1">
此 HTML 框架集显示多个 Web 页。若要查看此框架集,请使用支持 HTML 4.0 及更高版本的 Web 浏览器。
</p>

你的框架代码没问题。主要应该注意这两句。
<frame src=\"../asdocs/html_tutorials/framelist.html\">
<frame src=\"../asdocs/html_tutorials/Frame_a.html\" name=\"showframe\">
这里的framelist.html和Frame_a.html必须存在。
也就是说你要实现左边有个导航,右边显示内容的效果,总共需要3个html文件,你贴上来的只是框架,而里面用来作为内容的html并没有写,当然不会显示了。