This topic describes how to add the Blazor Designer component to your Blazor Web Assembly Application. This project uses the Report Server.
Pages/Index.razor |
Copy Code
|
---|---|
@page "/" @using GrapeCity.ActiveReports.Blazor.Designer; @inject IJSRuntime JSRuntime <div style="height:100vh;width:100%" <ReportDesigner @ref="_designer" Server="@_server" Document="@_document" /> </div> @code { private ReportDesigner _designer; private Server _server = new Server() { Url = "http://localhost:5098" }; private Document _document = new Document() { Id = "Report.rdlx", Type = SupportedDocumentType.cpl }; } |