产品版本:__4__产品模块:__spread for asp.net___操作系统:_win server 2003(中文)____IDE:__vs2008___
问题描述:spread宽度设定为98%,里面的最后一列超出边框!如果是设定了固定的宽度则没有问题!
图片中红框的部分
相关代码:
cs 端代码
- spdLst.Width = Unit.Percentage(98);
- spdLst.Height = Unit.Pixel(300);
复制代码
aspx端代码
- <asp:Content ID="Content3" ContentPlaceHolderID="cntLst" runat="Server">
- <spd:FpSpread ID="spdLst" runat="server" BorderColor="Black" BorderStyle="Solid"
- BorderWidth="1px">
- <TitleInfo BackColor="#E7EFF7" ForeColor="" HorizontalAlign="Center" VerticalAlign="NotSet"
- Font-Size="Medium">
- </TitleInfo>
- <CommandBar BackColor="Control" ButtonFaceColor="Control" ButtonHighlightColor="ControlLightLight"
- ButtonShadowColor="ControlDark">
- <Background BackgroundImageUrl="SPREADCLIENTPATH:/img/cbbg.gif"></Background>
- </CommandBar>
- <Sheets>
- <spd:SheetView 。。。。。。。
- </spd:SheetView>
- </Sheets>
- </spd:FpSpread>
- </asp:Content>
复制代码 |
|