# C1.Web.Mvc.FlexChartCore-1.RegisterStartupScript

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_FlexChartCore_1_RegisterStartupScript_" data-uid="C1.Web.Mvc.FlexChartCore`1.RegisterStartupScript*">RegisterStartupScript Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_FlexChartCore_1_RegisterStartupScript_" data-uid="C1.Web.Mvc.FlexChartCore`1.RegisterStartupScript*"></a>
<h4 id="C1_Web_Mvc_FlexChartCore_1_RegisterStartupScript_System_IO_TextWriter_" data-uid="C1.Web.Mvc.FlexChartCore`1.RegisterStartupScript(System.IO.TextWriter)">RegisterStartupScript(TextWriter)</h4>
<div class="markdown level1 summary"><p>Registers the startup scripts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override void RegisterStartupScript(TextWriter writer)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub RegisterStartupScript(writer As TextWriter)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">TextWriter</span></td>
      <td><span class="parametername">writer</span></td>
      <td><p>the specified writer used to write the startup scripts.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.Web.Mvc.FlexChartBase-1.RegisterStartupScript.html#C1_Web_Mvc_FlexChartBase_1_RegisterStartupScript_System_IO_TextWriter_">FlexChartBase&lt;T&gt;.RegisterStartupScript(TextWriter)</a></div>
</div>
