INIT
This commit is contained in:
5
EnvelopeGenerator.ReceiverUI/Pages/DocumentViewer.razor
Normal file
5
EnvelopeGenerator.ReceiverUI/Pages/DocumentViewer.razor
Normal file
@@ -0,0 +1,5 @@
|
||||
@page "/documentviewer"
|
||||
|
||||
<DxDocumentViewer ReportName="LargeDatasetReport" CssClass="dx-blazor-reporting-container" Height="@null" Width="@null">
|
||||
<DxDocumentViewerTabPanelSettings Width="340" />
|
||||
</DxDocumentViewer>
|
||||
18
EnvelopeGenerator.ReceiverUI/Pages/Index.razor
Normal file
18
EnvelopeGenerator.ReceiverUI/Pages/Index.razor
Normal file
@@ -0,0 +1,18 @@
|
||||
@page "/"
|
||||
|
||||
<h2 class="pb-2">Blazor Components</h2>
|
||||
<p class="pb-2 mw-1100">
|
||||
Our Blazor UI components will help you create intuitive and highly-refined user experiences for both Blazor Server (ASP.NET Core) and Blazor WebAssembly hosting models.
|
||||
</p>
|
||||
<div class="pb-2 mw-1100">
|
||||
<img class="fit-width" src="images/banner.png" />
|
||||
</div>
|
||||
|
||||
<h2 class="mb-4 mt-4">Helpful Resources</h2>
|
||||
|
||||
<ul>
|
||||
<li><a class="helplink" href="https://demos.devexpress.com/blazor/ReportViewer/" target="_blank">Online Demos</a></li>
|
||||
<li><a class="helplink" href="https://github.com/DevExpress-Examples/Reporting-Blazor-Getting-Started" target="_blank">Examples</a></li>
|
||||
<li><a class="helplink" href="https://docs.devexpress.com/XtraReports/401676/web-reporting/blazor-reporting" target="_blank">Documentation</a></li>
|
||||
<li><a class="helplink" href="https://www.devexpress.com/support/training/blazor/" target="_blank">Free Blazor Training Course</a></li>
|
||||
</ul>
|
||||
19
EnvelopeGenerator.ReceiverUI/Pages/ReportDesigner.razor
Normal file
19
EnvelopeGenerator.ReceiverUI/Pages/ReportDesigner.razor
Normal file
@@ -0,0 +1,19 @@
|
||||
@page "/reportdesigner"
|
||||
@using DevExpress.DataAccess.Json;
|
||||
@using EnvelopeGenerator.ReceiverUI.Services;
|
||||
|
||||
<DxReportDesigner ReportName="LargeDatasetReport" CssClass="dx-blazor-reporting-container" Height="@null" Width="@null" AllowMDI="true" DataSources="DataSources">
|
||||
<DxReportDesignerWizardSettings UseFullscreenWizard="true" />
|
||||
</DxReportDesigner>
|
||||
|
||||
@code {
|
||||
Dictionary<string, object> DataSources = new Dictionary<string, object>();
|
||||
protected override async Task OnInitializedAsync() {
|
||||
await base.OnInitializedAsync();
|
||||
var connection = CustomDataSourceWizardJsonDataConnectionStorage.GetDefaultConnection();
|
||||
JsonDataSource jsonDataSource = new JsonDataSource();
|
||||
jsonDataSource.JsonSource = connection.GetJsonSource();
|
||||
await jsonDataSource.FillAsync();
|
||||
DataSources.Add("Northwind", jsonDataSource);
|
||||
}
|
||||
}
|
||||
12
EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor
Normal file
12
EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor
Normal file
@@ -0,0 +1,12 @@
|
||||
@page "/reportviewer/"
|
||||
@using DevExpress.XtraReports.UI;
|
||||
|
||||
<link href="_content/DevExpress.Blazor.Themes/blazing-berry.bs5.min.css" rel="stylesheet" />
|
||||
<link href="_content/DevExpress.Blazor.Reporting.Viewer/css/dx-blazor-reporting-components.bs5.css" rel="stylesheet" />
|
||||
|
||||
<DxReportViewer @ref="reportViewer" Report="Report" RootCssClasses="w-100 h-100" />
|
||||
|
||||
@code {
|
||||
DxReportViewer reportViewer;
|
||||
XtraReport Report = new PredefinedReports.Report();
|
||||
}
|
||||
Reference in New Issue
Block a user