日期:2014-05-19  浏览次数:20473 次

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