<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<%@ Register assembly="FarPoint.Web.Spread, Version=7.40.20141.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" namespace="FarPoint.Web.Spread" tagprefix="FarPoint" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body style="height:100%">
<form id="Form1" runat="server" style="height:100%">
<table cellpadding="3" cellspacing="0" style="height:100%; width:100%">
<tr>
<td style=" width: 145px;">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td style=" width: 145px;">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td style=" width: 145px;">
</td>
<td>
<FarPoint:FpSpread ID="FpSpread1" runat="server" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" Height="100%" Width="100%" >
<commandbar backcolor="Control" buttonfacecolor="Control" buttonhighlightcolor="ControlLightLight" buttonshadowcolor="ControlDark">
</commandbar>
<sheets>
<FarPoint:SheetView SheetName="Sheet1">
</FarPoint:SheetView>
</sheets>
</FarPoint:FpSpread>
</td>
</tr>
</table>
</form>
</body>
</html>
如以上代码,SPREAD不能随TABLE宽度变动而自动调整,如果这样,就无法实现满屏了,为了适应屏幕大小,这种满屏很重要。旧版本在IE8上是可以的。新版本在IE11上就不行了。不知道是否还有其他方法实现满屏 |