when i am edditing the report all goes well on preview as you see here: the code i use is that for 1st ocation :
Code: Select all
StiOptions.WebServer.url = "../data/handler.php";
Stimulsoft.Base.Localization.StiLocalization.setLocalizationFile("el-GR.xml");
var options = new Stimulsoft.Designer.StiDesignerOptions();
options.appearance.fullScreenMode = true;
var report = new Stimulsoft.Report.StiReport();
report.loadFile("DeltioParalavis.mrt");
report.dictionary.variables.getByName("xID").valueObject = 11;
var designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false);
designer.report = report;
designer.renderHtml("content");
but when i' m going to print it outpouts that error and for that ocation (that returns the error) i use this:
Code: Select all
var report = new Stimulsoft.Report.StiReport();
report.loadFile("DeltioParalavis.mrt");
report.dictionary.variables.getByName("xID").valueObject = 11;
report.render()
report.print()
as you see in place that i expect values from sql returns that:
Code: Select all
function n(){}
can you help me please?