FineUI 官方论坛

标题: 怎样在设置Regionpanel才会在IE 8下显示 [打印本页]

作者: 小豬仔→pig/抓    时间: 2012-8-3 18:57
标题: 怎样在设置Regionpanel才会在IE 8下显示
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="master.aspx.cs" Inherits="master_master" %>

  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5. <title></title>
  6. </head>
  7. <body>
  8. <form id="form1" runat="server">
  9. <div>
  10. <ext:PageManager ID="PageManager1" runat="server" AjaxLoadingType="Mask" AutoSizePanelID="RegionPanel1" />
  11. <ext:RegionPanel ID="RegionPanel1" runat="server" ShowBorder="false">
  12. <Regions>
  13. <ext:Region ID="regionTop" runat="server" Position="Top" Height="30px" ShowHeader="false" ShowBorder="false" EnableBackgroundColor="true" Layout="Fit">
  14. <Toolbars>
  15. <ext:Toolbar ID="Toolbar1" runat="server">
  16. <Items>
  17. <ext:ToolbarText ID="tbtName" runat="server" Text=""></ext:ToolbarText>
  18. <ext:ToolbarFill ID="ToolbarFill1" runat="server">
  19. </ext:ToolbarFill>
  20. <ext:ToolbarText ID="tbtWelCome" runat="server"></ext:ToolbarText>
  21. <ext:ToolbarSeparator ID="ToolbarSeparator3" runat="server"></ext:ToolbarSeparator>
  22. <ext:ToolbarText ID="tbtLimit" runat="server"></ext:ToolbarText>
  23. <ext:ToolbarSeparator ID="ToolbarSeparator4" runat="server"></ext:ToolbarSeparator>
  24. <ext:ToolbarText ID="tbtIP" runat="server"></ext:ToolbarText>
  25. <ext:ToolbarSeparator ID="ToolbarSeparator5" runat="server"></ext:ToolbarSeparator>
  26. <ext:ToolbarText ID="tbtStatus" runat="server"></ext:ToolbarText>
  27. <ext:ToolbarSeparator ID="ToolbarSeparator7" runat="server"></ext:ToolbarSeparator>
  28. <ext:ToolbarText ID="tbtLoginTime" runat="server"></ext:ToolbarText>
  29. <ext:ToolbarSeparator ID="ToolbarSeparator6" runat="server"></ext:ToolbarSeparator>
  30. <ext:Button ID="btnClose" runat="server" Icon="DoorOut" Text="退出系统" ConfirmText="确定退出?" ConfirmTitle="系统提示"></ext:Button>
  31. </Items>
  32. </ext:Toolbar>
  33. </Toolbars>
  34. </ext:Region>
  35. <ext:Region ID="rMenu" runat="server" Position="Left" ShowHeader="true" Split="true"
  36. Title="菜单列表" Width="200px" EnableCollapse="true" AutoScroll="true" Layout="Fit">
  37. <Items>
  38. <ext:Tree ID="tMenu" ShowBorder="false" runat="server" AutoScroll="true" EnableAjaxLoading="true" EnableArrows="false" OnNodeCommand="tMenu_NodeCommand" Title="系统菜单" EnableLines="true" ShowHeader="false">
  39. </ext:Tree>
  40. </Items>
  41. </ext:Region><ext:Region ID="rMain" runat="server" Position="Center" ShowHeader="false"
  42. Title="Center Region" Layout="Fit">
  43. <Items>
  44. <ext:TabStrip ID="ts" runat="server" ActiveTabIndex="0" ShowBorder="false" Height="627">
  45. <Tabs>
  46. <ext:Tab ID="tDefault" EnableFrame="true" EnableIFrame="true" IFrameUrl="System/Info.aspx" Icon="house" runat="server" Title="系统信息">
  47. </ext:Tab></Tabs>
  48. </ext:TabStrip>
  49. </Items>
  50. </ext:Region></Regions>
  51. </ext:RegionPanel>
  52. </div>
  53. </form>
  54. </body>
  55. </html>
复制代码

这个是我写的代码,但在IE 8下显示效果为空白页面,求指教,谢谢!
作者: 黑冰.cn    时间: 2012-8-3 23:21
本帖最后由 黑冰.cn 于 2012-8-3 23:36 编辑

{:soso__14347937040236606360_1:}这……IE8下正常。不过你要把最外层的那个<div>去掉。哈哈哈哈。




欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/) Powered by Discuz! X3.4