LocalReport.ReportPath Property

 

Gets or sets the local file system path of the local report.

Namespace:   Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (in Microsoft.ReportViewer.WebForms.dll)

public string ReportPath { get; set; }

Property Value

Type: System.String

A String value.

Setting the ReportPath property will cause the ReportViewer control to automatically load any required subreports from the file system.

Setting this property will cause the value of the ReportEmbeddedResource property to be ignored. It also causes the report loaded with LoadReportDefinition to be ignored.

Return to top
Show: