# C1.Report.FlexReport.IgnoreScriptErrors

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_FlexReport_IgnoreScriptErrors_" data-uid="C1.Report.FlexReport.IgnoreScriptErrors*">IgnoreScriptErrors Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_FlexReport_IgnoreScriptErrors_" data-uid="C1.Report.FlexReport.IgnoreScriptErrors*"></a>
<h4 id="C1_Report_FlexReport_IgnoreScriptErrors" data-uid="C1.Report.FlexReport.IgnoreScriptErrors">IgnoreScriptErrors</h4>
<div class="markdown level1 summary"><p>Specifies whether the component should ignore script errors by default.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Category(&quot;Behavior&quot;)]
[C1Description(&quot;C1FlexReport.IgnoreScriptErrors&quot;, &quot;Indicates whether by default script errors should be ignored.&quot;)]
[Browsable(false)]
public bool IgnoreScriptErrors { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;Behavior&quot;)&gt;
&lt;C1Description(&quot;C1FlexReport.IgnoreScriptErrors&quot;, &quot;Indicates whether by default script errors should be ignored.&quot;)&gt;
&lt;Browsable(False)&gt;
Public Property IgnoreScriptErrors As Boolean</code></pre>
</div>
<h5 id="C1_Report_FlexReport_IgnoreScriptErrors_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When the script interpreter finds an error in a script or expression, the 
component raises the <a class="xref" href="C1.Report.FlexReport.ReportError.html">ReportError</a> event. This property specifies
the default value for the <b>Handled</b> parameter in that event.</p>
<p>If <b>IgnoreScriptErrors</b> is set to true, script errors are ignored
by default (the <b>Handled</b> parameter is initialized to true).</p>
<p>If <b>IgnoreScriptErrors</b> is set to false, script errors throw
exceptions by default (the <b>Handled</b> parameter is initialized to false).</p>
<p>In either case, the <a class="xref" href="C1.Report.FlexReport.ReportError.html">ReportError</a> event handler may override 
the default by changing the value of the <b>Handled</b> parameter.</p>
</div>
</div>
