# C1.Report.ReportLinkTargetScript

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_ReportLinkTargetScript" data-uid="C1.Report.ReportLinkTargetScript" class="text-break">ReportLinkTargetScript Class
</h1>
  <div class="markdown level0 summary"><p>Describes a <a class="xref" href="C1.Report.ReportLinkTargetBase.html">ReportLinkTargetBase</a> that executes a script.</p>
<p>When the hyperlink is clicked in a viewer, the specified script is executed and then the report is re-generated.</p>
<p>The script is executed when the data source is not yet open, so fields' values are unavailable.</p>
<p>This script can be used to change the report parameters' values, properties of the report's fields, sections and so on.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Report.ReportLinkTargetBase.html">ReportLinkTargetBase</a></div>
    <div class="level2"><span class="xref">ReportLinkTargetScript</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Report.IScriptContextProvider.html">IScriptContextProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.html">C1.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_ReportLinkTargetScript_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ReportLinkTargetScript : ReportLinkTargetBase, IScriptContextProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ReportLinkTargetScript
    Inherits ReportLinkTargetBase
    Implements IScriptContextProvider</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_ReportLinkTargetScript__ctor" data-uid="C1.Report.ReportLinkTargetScript.#ctor">
          <a class="xref" href="C1.Report.ReportLinkTargetScript.-ctor.html#C1_Report_ReportLinkTargetScript__ctor">ReportLinkTargetScript()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Report.ReportLinkTargetScript.html">ReportLinkTargetScript</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_ReportLinkTargetScript_OnNavigate" data-uid="C1.Report.ReportLinkTargetScript.OnNavigate">
          <a class="xref" href="C1.Report.ReportLinkTargetScript.OnNavigate.html#C1_Report_ReportLinkTargetScript_OnNavigate">OnNavigate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the script which will be executed.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_ReportLinkTargetScript_AssignFrom_C1_Report_ReportLinkTargetBase_" data-uid="C1.Report.ReportLinkTargetScript.AssignFrom(C1.Report.ReportLinkTargetBase)">
          <a class="xref" href="C1.Report.ReportLinkTargetScript.AssignFrom.html#C1_Report_ReportLinkTargetScript_AssignFrom_C1_Report_ReportLinkTargetBase_">AssignFrom(ReportLinkTargetBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies properties from another object into this object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_ReportLinkTargetScript_ToString" data-uid="C1.Report.ReportLinkTargetScript.ToString">
          <a class="xref" href="C1.Report.ReportLinkTargetScript.ToString.html#C1_Report_ReportLinkTargetScript_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
