请教使用UpdatePanel面板更新spread时会有问题吗?见如下代码:
- <wijmo:C1Dialog ID="C1Dialog8" runat="server" Title="配置显示字段" ShowOnLoad="False"
- Width="600px" Height="400px" Modal="True" AppendTo="body"
- MaintainVisibilityOnPostback="False" Show="blind">
- <CollapsingAnimation Option=""></CollapsingAnimation>
- <ExpandingAnimation Option=""></ExpandingAnimation>
- <CaptionButtons>
- <Pin IconClassOn="ui-icon-pin-w" IconClassOff="ui-icon-pin-s"></Pin>
- <Refresh IconClassOn="ui-icon-refresh"></Refresh>
- <Minimize IconClassOn="ui-icon-minus"></Minimize>
- <Maximize IconClassOn="ui-icon-extlink"></Maximize>
- <Close IconClassOn="ui-icon-close"></Close>
- </CaptionButtons>
- <Content>
- <asp:UpdatePanel ID="UpdatePanel2" runat="server" >
- <Triggers>
- <asp:AsyncPostBackTrigger ControlID="ConfigFieldFS" EventName="UpdateCommand"/>
- </Triggers>
- <ContentTemplate>
- <FarPoint:FpSpread ID="ConfigFieldFS" runat="server" BorderColor="Black"
- BorderStyle="Solid" BorderWidth="1px" Height="340px" Width="97%"
- ActiveSheetViewIndex="0" currentPageIndex="0"
-
- DesignString="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;Spread /&gt;"
- onupdatecommand="ConfigFieldFS_UpdateCommand" >
- <TouchInfo SelectionGripperLineColor="" />
- <commandbar backcolor="Control" buttonfacecolor="Control"
- buttonhighlightcolor="ControlLightLight" buttonshadowcolor="ControlDark">
- <Background BackgroundImageUrl="SPREADCLIENTPATH:/img/cbbg.gif" />
- </commandbar>
- <sheets>
- <FarPoint:SheetView SheetName="Sheet1">
- </FarPoint:SheetView>
- </sheets>
- <TouchStrips>
- <FarPoint:TouchStrip Area="Chart" NoTouchStrip="True">
- </FarPoint:TouchStrip>
- </TouchStrips>
- <TitleInfo BackColor="#E7EFF7" Font-Bold="False" Font-Italic="False"
- Font-Overline="False" Font-Size="X-Large" Font-Strikeout="False"
- Font-Underline="False" ForeColor="" HorizontalAlign="Center"
- VerticalAlign="NotSet">
- </TitleInfo>
- </FarPoint:FpSpread>
- </ContentTemplate>
- </asp:UpdatePanel>
- </Content>
- </wijmo:C1Dialog>
复制代码
后台执行:
protected void ConfigFieldFS_UpdateCommand(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
这个事件无法触发到。
是否是因为我把spread放在C1Dialog的原因?如何解决? |
|