Showing the Viewer Immediately after Running an App
Our sample projects and report templates can help you learn the basics of working with our products.This example shows how to create a report viewer and show it immediately. To create the report viewer object you should use the
In the screenshot below you can see the result of the sample code:

StiViewer class from the Stimulsoft.Viewer namespace. After creation, the viewer renders its own content automatically in the place in which the object was created:
<script type="text/javascript">
// Create the report viewer with default options and show it in this place
var viewer = new Stimulsoft.Viewer.StiViewer();
...
</script>In the screenshot below you can see the result of the sample code:
