Show Report Designer in Desired PositionThis example shows how to create a report designer and show it in the desired position. If you want to disable the automatic rendering of the designer content after creation, set the third parameter of the constructor to false. In this case, the object designer will be created in memory:
// Create the report designer with default options
var designer = new Stimulsoft.Designer.StiDesigner(null, "StiDesigner", false);
To display the report designer you can use the designer.renderHtml() method, designer renders its own content in the place, in which this method was called:
// Show the report designer in this place
Also you can render the designer content into the specified HTML element, for example DIV. For this you can use the designer.renderHtml("elementId") method:
// Show the report designer in specified element
In the screenshot below you can see the result of the sample code.