This example shows how to create a report viewer and show it immediately. To create the report viewer object you should use the 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:

Showing the Viewer Immediately after Running an App

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.