ReportParametersPanelModel Class
A class that is the server-side model for the Standalone Report Parameters Panel.
Namespace: DevExpress.XtraReports.Web.ParametersPanel
Assembly: DevExpress.XtraReports.v24.1.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
public class ReportParametersPanelModel :
ParametersPanelSettingsBase,
IReportParametersPanelModel
Remarks
Use the IReportParametersPanelClientSideModelGenerator.GetModel to generate the ReportParametersPanelModel
instance:
public IActionResult Panel(
[FromQuery] string reportName,
[FromServices] IReportParametersPanelClientSideModelGenerator clientSideModelGenerator) {
reportName = string.IsNullOrEmpty(reportName) ? "TestReport" : reportName;
ReportParametersPanelModel parametersPanelModel =
clientSideModelGenerator.GetModel(reportName, WebDocumentViewerController.DefaultUri);
return View("Panel", parametersPanelModel);
}
Implements
Inheritance
Object
DevExpress.Utils.SerializableSettingsBase
DevExpress.XtraReports.Web.ParametersPanel.ParametersPanelSettingsBase
ReportParametersPanelModel
See Also