# GrapeCity.ActiveReports.SectionReport.ResetScripts

## Content

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



<h1 id="GrapeCity_ActiveReports_SectionReport_ResetScripts_" data-uid="GrapeCity.ActiveReports.SectionReport.ResetScripts*">ResetScripts Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_SectionReport_ResetScripts_" data-uid="GrapeCity.ActiveReports.SectionReport.ResetScripts*"></a>
<h4 id="GrapeCity_ActiveReports_SectionReport_ResetScripts" data-uid="GrapeCity.ActiveReports.SectionReport.ResetScripts">ResetScripts()</h4>
<div class="markdown level1 summary"><p>Clears the script of any items added using the AddNamedItem method or code added using the AddCode method.
This does not affect the previously saved report layout (RPX) file and only deletes code added using the above methods.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ResetScripts()</code></pre>
</div>
</div>
