xtrareports-devexpress-dot-xtrareports-dot-web-a14afc70.md
A control to create an End-User Report Designer in ASP.NET applications.
Namespace : DevExpress.XtraReports.Web
Assembly : DevExpress.XtraReports.v25.2.Web.WebForms.dll
NuGet Package : DevExpress.Web.Reporting
public class ASPxReportDesigner :
ASPxWebClientUIControl,
IControlDesigner
Public Class ASPxReportDesigner
Inherits ASPxWebClientUIControl
Implements IControlDesigner
Quick Start
To add the End-User Report Designer to a web page, do the following.
In Visual Studio, expand the DX.25.2: Reporting Toolbox tab and drop the ASPxReportDesigner control onto the page.
Assign a report to the Report Designer by calling the ASPxReportDesigner.OpenReport or ASPxReportDesigner.OpenReportXmlLayout method.
In the application’s Web.config file, add the “resources” section as shown below.
To enable the Report Designer to use an HttpContext ( Session or User ), specify the Session State property in the control’s smart tag.
You should exclude the directory with the default visual themes, along with the site.css file that is created automatically by the project because they may corrupt the layout of the document viewer toolbar. To do this, press CTRL + ALT + L to switch to the Solution Explorer, and remove the themes folder and Site.css file from the Content directory.
Implement a report storage that will be used to store reports created in the Report Designer. Enabling this feature is required to support editing of subreports.
If required, you can register default data sources that will be available for all report design sessions in the Report Designer.
If required, you can also register default data connections that will be available in the Data Source Wizard when creating new data sources.
To learn more, see Report Designer.
Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxWebClientUIControl ASPxReportDesigner MVCxReportDesigner
See Also