首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

iframe中的页面无法显示的有关问题

2011-12-26 
iframe中的页面无法显示的问题在Treeview控件的每个节点的“target”属性绑定一个iframe的id“DetailsPage”,

iframe中的页面无法显示的问题
在Treeview控件的每个节点的“target”属性绑定一个iframe的id“DetailsPage”   ,该iframe的src属性制定为某一页。

  <iframe   id= "DetailsPage "   src= "ViewDetails.aspx "   class= "iframe "   style= "height:   100% "> </iframe>

TreeNode   node   =   new   TreeNode();
  node.Target   =   "DetailsPage ";

但是,无论是单击树节点,还是页面初始时,都不显示iframe中的页面,
不知为什么

[解决办法]
target应该指向它的名称name而不是id
[解决办法]
<iframe id= "DetailsPage "==> <iframe name= "DetailsPage "
[解决办法]
问问你们的美工把
[解决办法]
要设置iframe自动适应高度
http://www.cublog.cn/u/598/showart_205436.html

热点排行