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

Iframe 中 如何才能把控件显示出来?不通过src

2012-04-02 
Iframe 中 怎么才能把控件显示出来?不通过src。bodyform idform1 runatserverdiviframe width

Iframe 中 怎么才能把控件显示出来?不通过src。
<body>
  <form id="form1" runat="server">
  <div>
  <iframe width="100%" height="100%" style="z-index:-1;">
  <asp:TextBox ID="TextBox1" runat="server" BackColor="Pink"></asp:TextBox>
  </iframe>
  </div>
  </form>
</body>

这样生成的页面 只把iframe 显示出来了,怎么样才能把TextBox 显示出来?

[解决办法]
控件直接放页面不就行了么,那还要iframe干嘛
[解决办法]
样式问题吧,找美工调调
[解决办法]



http://wenku.baidu.com/view/4f87b28371fe910ef12df8f4.html

热点排行