Back to Devexpress

ASPxReportDesigner Class

xtrareports-devexpress-dot-xtrareports-dot-web-a14afc70.md

latest4.1 KB
Original Source

ASPxReportDesigner Class

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

Declaration

csharp
public class ASPxReportDesigner :
    ASPxWebClientUIControl,
    IControlDesigner
vb
Public Class ASPxReportDesigner
    Inherits ASPxWebClientUIControl
    Implements IControlDesigner

Remarks

Quick Start

To add the End-User Report Designer to a web page, do the following.

  1. In Visual Studio, expand the DX.25.2: Reporting Toolbox tab and drop the ASPxReportDesigner control onto the page.

  2. Assign a report to the Report Designer by calling the ASPxReportDesigner.OpenReport or ASPxReportDesigner.OpenReportXmlLayout method.

  3. In the application’s Web.config file, add the “resources” section as shown below.

  4. To enable the Report Designer to use an HttpContext ( Session or User ), specify the Session State property in the control’s smart tag.

  5. 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.

  6. 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.

  7. If required, you can register default data sources that will be available for all report design sessions in the Report Designer.

  8. 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.

Inheritance

Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxWebClientUIControl ASPxReportDesigner MVCxReportDesigner

See Also

ASPxReportDesigner Members

End-User Report Designer in ASP.NET Web Forms Reporting

DevExpress.XtraReports.Web Namespace