Updated the `@page` directives in `ReportDesigner.razor` and `ReportViewer.razor` to change routes from `/reportdesigner` to `/sender` and `/reportviewer` to `/receiver`, respectively. Modified `NavMenu.razor` to update navigation links to reflect the new routes. Updated the displayed text for the links to "Empfänger-UI" (Receiver UI) and "Umschlag-UI" (Envelope UI).
19 lines
859 B
Plaintext
19 lines
859 B
Plaintext
@page "/sender"
|
|
@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);
|
|
}
|
|
} |