# GrapeCity.ActiveReports.PageReportModel.Subreport.ReportName

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_PageReportModel_Subreport_ReportName_" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.ReportName*">ReportName Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_Subreport_ReportName_" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.ReportName*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Subreport_ReportName" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.ReportName">ReportName</h4>
<div class="markdown level1 summary"><p>Gets or sets the path to the subreport.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string ReportName { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the full (e.g. &quot;/salesreports/orderdetails&quot;) or
relative path (e.g. &quot;orderdetails&quot;) to the subreport.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Subreport_ReportName_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Relative paths are relative to the current application's folder. The value cannot be an empty string.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Subreport_ReportName_examples">Examples</h5>
<pre><code class="lang-csharp">Subreport subreport = new Subreport();
subreport.ReportName = "/salesreports/orderdetails";</code></pre>

</div>
