Skip to main content
All docs
V18.2

ASPxClientReportDesigner.ShowPreview() Method

Switches the Web Report Designer to the preview mode.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.2.Web.Scripts.dll

Declaration

public void ShowPreview()

Remarks

The following example demonstrates how to display the Web Report Designer’s preview on control initialization.

<script type="text/javascript" id="script">
    function init(s, e) {
        s.ShowPreview();
    }
</script>

<dx:ASPxReportDesigner ID="ASPxReportDesigner1" runat="server" ClientInstanceName="reportDesigner">
    <ClientSideEvents Init="init"/>
</dx:ASPxReportDesigner>
See Also