Skip to content

Commit 393c23c

Browse files
auto sync for version 2023.2
1 parent 996daa0 commit 393c23c

29 files changed

+2702
-171
lines changed

ASPNETCoreHowToCreateDrillDownReports.csproj renamed to ASPNETCoreCreateDrillThroughReports.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
<Exec Command="npm install" />
6363
</Target>
6464
<ItemGroup>
65+
<PackageReference Include="DevExpress.AspNetCore.Reporting" Version="23.2.*-*" />
6566
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.0" />
6667
<PackageReference Include="System.Data.SQLite" Version="1.0.116" />
67-
<PackageReference Include="DevExpress.AspNetCore.Reporting" Version="23.2.*-*" />
6868
<PackageReference Include="BuildBundlerMinifier" Version="3.2.449" />
6969
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="2.1.76" />
7070
</ItemGroup>

Controllers/HomeController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using DevExpress.XtraReports.Web.WebDocumentViewer;
44
using Microsoft.AspNetCore.Mvc;
55

6-
namespace ASPNETCoreHowToCreateDrillDownReports.Controllers {
6+
namespace ASPNETCoreCreateDrillThroughReports.Controllers {
77
public class HomeController : Controller {
8-
public async Task<IActionResult> Index([FromServices] IWebDocumentViewerClientSideModelGenerator viewerModelGenerator, [FromQuery] string reportName = "MainReport") {
8+
public async Task<IActionResult> Index([FromServices] IWebDocumentViewerClientSideModelGenerator viewerModelGenerator, [FromQuery] string reportName = "CategoriesReport") {
99
var model = await viewerModelGenerator.GetModelAsync(reportName, WebDocumentViewerController.DefaultUri);
1010
return View(model);
1111
}

Controllers/ReportingControllers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using DevExpress.AspNetCore.Reporting.WebDocumentViewer;
22
using DevExpress.AspNetCore.Reporting.WebDocumentViewer.Native.Services;
33

4-
namespace ASPNETCoreHowToCreateDrillDownReports.Controllers {
4+
namespace ASPNETCoreCreateDrillThroughReports.Controllers {
55
public class CustomWebDocumentViewerController : WebDocumentViewerController {
66
public CustomWebDocumentViewerController(IWebDocumentViewerMvcControllerService controllerService) : base(controllerService) {
77
}

PredefinedReports/Details.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PredefinedReports/Details.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using DevExpress.XtraReports.UI;
33

4-
namespace ASPNETCoreHowToCreateDrillDownReports
4+
namespace ASPNETCoreCreateDrillThroughReports
55
{
66
public partial class Details
77
{

PredefinedReports/MainReport.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PredefinedReports/MainReport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using DevExpress.XtraReports.UI;
33

4-
namespace ASPNETCoreHowToCreateDrillDownReports
4+
namespace ASPNETCoreCreateDrillThroughReports
55
{
66
public partial class MainReport
77
{

PredefinedReports/ReportsFactory.cs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
using System.Collections.Generic;
33
using DevExpress.XtraReports.UI;
44

5-
namespace ASPNETCoreHowToCreateDrillDownReports.PredefinedReports {
6-
public static class ReportsFactory
7-
{
8-
public static Dictionary<string, Func<XtraReport>> Reports = new Dictionary<string, Func<XtraReport>>()
9-
{
10-
["MainReport"] = () => new MainReport(),
11-
["DetailReport1"] = () => new Details()
5+
namespace ASPNETCoreCreateDrillThroughReports.PredefinedReports {
6+
public static class ReportsFactory {
7+
public static Dictionary<string, Func<XtraReport>> Reports = new Dictionary<string, Func<XtraReport>>() {
8+
["ProductsReport"] = () => new XtraReportProducts(),
9+
["CategoriesReport"] = () => new XtraReportCategories()
1210
};
1311
}
1412
}

0 commit comments

Comments
 (0)