Код: Выделить всё
...
using Stimulsoft.Report;
using Stimulsoft.Report.Web;
...
protected void Page_Load(object sender, EventArgs e)
{
if (Page != null && !Page.IsPostBack)
{
try
{
StiReport report = new StiReport();
StiViewer1.ShowPrintButton = true;
StiViewer1.ShowSave = true;
StiViewer1.ShowPageShadow = true;
StiViewer1.ShowMenuAnimation = true;
StiViewer1.ShowParametersButton = false;
StiViewer1.ShowBookmarksButton = false;
StiViewer1.RenderMode = StiRenderMode.AjaxWithCache;
StiViewer1.ScrollBarsMode = true;
StiViewer1.Report = report;
}
catch (Exception ex)
{
throw;
}
}
}