Reputation: 11
i use stimulsoft in javascript.But the viewer can not display the desired project when loaded
var report = new Stimulsoft.Report.StiReport();
report.loadFile("~/Source/SimpleList.mrt");
var viewer = new Stimulsoft.Viewer.StiViewer(null, "StiViewer", false); viewer.renderHtml("content");
viewer.report = report;
but after load viewer when click open button in stimulsoft and open the file, Now the desired report is loaded!
Please help me to understand why the mentioned report is not displayed when loading the page
Upvotes: 0
Views: 649
Reputation: 1
I think you missed the render method
viewer.renderHtml();
Please see this sample file:
Upvotes: 0