ASPxWebDocumentViewer.ReportSourceId Property
SECURITY NOTE
Deserializing a report layout from untrusted resources may create security issues. Serializable System.Object
properties that contain custom type values are not (de)serialized automatically. Review the following help topic for information on how to (de)serialize custom type values: Reporting — Safe Deserialization.
Specifies the name of the report type whose instance should be displayed in the Document Viewer.
Namespace: DevExpress.XtraReports.Web
Assembly: DevExpress.XtraReports.v24.2.Web.WebForms.dll
NuGet Package: DevExpress.Web.Reporting
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | The report type name. |
Remarks
When you select a report in the Web Document Viewer’s smart tag menu, you select a value for the ReportSourceId
property:
The property ReportSourceId
accepts the report type name. The report type is specified in the report’s code-behind file:
namespace WebFormsExample.Reports {
public partial class XtraReport1 : DevExpress.XtraReports.UI.XtraReport {
public XtraReport1() {
InitializeComponent();
}
}
}