In a Wisej.NET web app the Reports.JS viewer is hosted in an HTML control, built in JavaScript on load.

Build the viewer on page load.
<script src="Scripts/stimulsoft.reports.js"></script>
<script src="Scripts/stimulsoft.viewer.js"></script>

<script type="text/javascript">
    function onLoad() {
        var viewer = new Stimulsoft.Viewer.StiViewer(new Stimulsoft.Viewer.StiViewerOptions(), "StiViewer", false);
        viewer.renderHtml("content");

        var report = new Stimulsoft.Report.StiReport();
        report.loadFile("/Reports/SimpleList.mrt");
        viewer.report = report;
    }
</script>

How it works. Wisej hosts the HTML page; the viewer runs client-side, so a C# web app shows Stimulsoft reports without a server-side rendering step.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.