Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReportPath Property

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)

[NotifyParentPropertyAttribute(true)] 
[DefaultValueAttribute(null)] 
public string ReportPath { get; set; }
/** @property */
public String get_ReportPath ()

/** @property */
public void set_ReportPath (String value)

public function get ReportPath () : String

public function set ReportPath (value : String)

Property Value

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.

Show:
© 2015 Microsoft