- Gestito ReportDesign
- Importazione ReportDesign in ReportViewer
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using DevExpress.Blazor.Reporting;
|
||||
using DevExpress.XtraReports.Services;
|
||||
using DevExpress.XtraReports.Web.Extensions;
|
||||
using Microsoft.AspNetCore.Localization;
|
||||
using System.Globalization;
|
||||
@@ -30,8 +31,9 @@ builder.WebHost.UseStaticWebAssets();
|
||||
|
||||
builder.Services.AddScoped<ReportStorageWebExtension, CustomReportStorageWebExtension>();
|
||||
|
||||
builder.Services.AddScoped<IReportProvider, MyReportProvider>();
|
||||
|
||||
var app = builder.Build();
|
||||
app.UseDevExpressBlazorReporting();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if (!app.Environment.IsDevelopment())
|
||||
@@ -45,6 +47,7 @@ app.UseAntiforgery();
|
||||
app.MapRazorComponents<App>()
|
||||
.AddInteractiveServerRenderMode();
|
||||
|
||||
app.UseDevExpressBlazorReporting();
|
||||
// cultura IT...
|
||||
var supportedCultures = new[]{
|
||||
new CultureInfo("it-IT")
|
||||
|
||||
Reference in New Issue
Block a user