Stimulsoft Reports.Web的WebViewer能在UpdatePanel组件中运行吗

作者:mayz    来源:Stimulsoft    浏览:Loading...      日期:2013-01-28

问题解答:

StiWebViewer 会使用异步回发,它在UpdatePanel组建的运行要使用以下代码:

1.用PostBackTrigger控件启动UpdatePanel内的StiWebViewer去引起回发,而不是执行异步回发

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
  <Triggers>
    <asp:PostBackTrigger ControlID="StiWebViewer1" />
  </Triggers>
  <ContentTemplate>
    <cc1:StiWebViewer ID="StiWebViewer1" RenderMode="AjaxWithCache" runat="server" />
  </ContentTemplate>
</asp:UpdatePanel>

2.使用 UpdatePanel外的StiWebViewer.

Tag标签:StimulsoftReports.Web 

本站文章除注明转载外,均为本站原创或翻译
欢迎任何形式的转载,但请务必注明出处,尊重他人劳动成果
转载请注明:文章转载自:Stimulsoft中文网 [http://www.Stimulsoft.cn/]
本文地址: http://www.Stimulsoft.cn/Resources/FAQ/160.html

上一篇: 如何识别用户按下了报表的打印按钮

下一篇: 如何将Stimulsoft Reports.Silverlight项目本地化