Report Designer Slower and Slower
Posted: Tue May 10, 2016 9:11 am
Hello Stimulsoft Team
When i open the Designer in first Time its very fast but when i open more often a Report its slower and slower
I thing i have desstroy the Desinger Session? But how ?
So i open the Designer:
When i open the Designer in first Time its very fast but when i open more often a Report its slower and slower
I thing i have desstroy the Desinger Session? But how ?
So i open the Designer:
Code: Select all
Stimulsoft.Base.Localization.StiLocalization.setLocalizationFile("css/de.xml", true);
//Stimulsoft.Base.Localization.StiLocalization.addLocalizationFile("css/de.xml", true, "Deutsch");
var options = new Stimulsoft.Designer.StiDesignerOptions;
options.toolbar.showFileMenu = false;
options.appearance.htmlRenderMode = Stimulsoft.Report.Export.StiHtmlExportMode.Div;
var designer = null;
designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false);
// designer.Stimulsoft.Base.Localization.StiLocalization.addLocalizationFile("Localizations/de.xml", false, "Deutsch");
designer.renderHtml("designerContent");
// alert ((data.report));
var report = new Stimulsoft.Report.StiReport();
// var stringreport = data.report;
var n = Stimulsoft.System.Guid.newGuid().toString().substr(0, 8);
report.loadFile(reportfile + "?n=" + n);
var dataSet = new Stimulsoft.System.Data.DataSet("data");
dataSet.readJson(reportdata);
// alert (JSON.stringify(reportdata));
report.regData(dataSet.dataSetName, "", dataSet);
designer.report = report;