Code: Select all
var report = new Stimulsoft.Report.StiReport();
var n = Stimulsoft.System.Guid.newGuid().toString().substr(0, 8);
if ($.IsJson(reportfile)) {
report.load(reportfile); //which function do I have to use?
} else {
report.loadFile(reportfile + "?n=" + n);
}