可以将Spread放到UpdatePanel中:
- <form id="form1" runat="server">
- <div>
- <asp:ScriptManager ID="ScriptManager1" runat="server">
- </asp:ScriptManager>
- <asp:UpdatePanel ID="UpdatePanel1" runat="server">
- <ContentTemplate>
- <FarPoint:FpSpread ID="FpSpread1" runat="server" BorderColor="Black"
- BorderStyle="Solid" BorderWidth="1px" Height="200" Width="400"
- onbuttoncommand="FpSpread1_ButtonCommand">
- <commandbar backcolor="Control" buttonfacecolor="Control"
- buttonhighlightcolor="ControlLightLight" buttonshadowcolor="ControlDark">
- </commandbar>
- <sheets>
- <FarPoint:SheetView SheetName="Sheet1">
- </FarPoint:SheetView>
- </sheets>
- </FarPoint:FpSpread>
- </ContentTemplate>
- </asp:UpdatePanel>
- </div>
- </form>
复制代码 |