# GrapeCity.ActiveReports.Viewer.Win.Viewer.AutoExecuteWithDefaultParams

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_AutoExecuteWithDefaultParams_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.AutoExecuteWithDefaultParams*">AutoExecuteWithDefaultParams Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Win_Viewer_AutoExecuteWithDefaultParams_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.AutoExecuteWithDefaultParams*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_AutoExecuteWithDefaultParams" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.AutoExecuteWithDefaultParams">AutoExecuteWithDefaultParams</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the report executes automatically when all parameters have default values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public bool AutoExecuteWithDefaultParams { 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.boolean">bool</a></td>
      <td><p><code>true</code> if the report executes automatically when all parameters have default values (default behavior);
<code>false</code> if the parameters panel opens first and rendering waits for the user to click &quot;Preview&quot;.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_AutoExecuteWithDefaultParams_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When set to <code>false</code> and all report parameters have default values, the viewer opens the parameters panel on load
without starting rendering. The report renders only after the user clicks &quot;Preview&quot; in the parameters panel.
This setting has no effect on reports that have no parameters or reports where at least one parameter has no default value —
in both cases the behavior is unchanged.
The default value is <code>true</code>, which preserves the existing auto-execute behavior.</p>
</div>
</div>
