# FarPoint.Web.Spread.FormulaExtender

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_FormulaExtender" data-uid="FarPoint.Web.Spread.FormulaExtender" class="text-break">FormulaExtender Class
</h1>
  <div class="markdown level0 summary"><p>Represents the extended .net control for using formulas.</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="https://learn.microsoft.com/dotnet/api/system.web.ui.control">Control</a></div>
    <div class="level2"><span class="xref">FormulaExtender</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iparseraccessor">IParserAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iurlresolutionservice">IUrlResolutionService</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.idatabindingsaccessor">IDataBindingsAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.icontrolbuilderaccessor">IControlBuilderAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.icontroldesigneraccessor">IControlDesignerAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iexpressionsaccessor">IExpressionsAccessor</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_FormulaExtender_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(FormulaExtender), &quot;FormulaProviderV7.png&quot;)]
public class FormulaExtender : Control, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(FormulaExtender), &quot;FormulaProviderV7.png&quot;)&gt;
Public Class FormulaExtender
    Inherits Control
    Implements IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor</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="FarPoint_Web_Spread_FormulaExtender__ctor" data-uid="FarPoint.Web.Spread.FormulaExtender.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.-ctor.html#FarPoint_Web_Spread_FormulaExtender__ctor">FormulaExtender()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new formula extender.</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="FarPoint_Web_Spread_FormulaExtender_EnableAjaxCall" data-uid="FarPoint.Web.Spread.FormulaExtender.EnableAjaxCall">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.EnableAjaxCall.html#FarPoint_Web_Spread_FormulaExtender_EnableAjaxCall">EnableAjaxCall</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the automatic or manual post back when the source control value changes.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaExtender_FormulaEntries" data-uid="FarPoint.Web.Spread.FormulaExtender.FormulaEntries">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.FormulaEntries.html#FarPoint_Web_Spread_FormulaExtender_FormulaEntries">FormulaEntries</a>
        </td>
        <td class="markdown level1 summary"><p>Stores the datasource of this survey.</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="FarPoint_Web_Spread_FormulaExtender_AddFormula_System_String_System_String_" data-uid="FarPoint.Web.Spread.FormulaExtender.AddFormula(System.String,System.String)">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.AddFormula.html#FarPoint_Web_Spread_FormulaExtender_AddFormula_System_String_System_String_">AddFormula(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds or updates the control formula.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaExtender_Calculate" data-uid="FarPoint.Web.Spread.FormulaExtender.Calculate">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.Calculate.html#FarPoint_Web_Spread_FormulaExtender_Calculate">Calculate()</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the value of all formula controls.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaExtender_LoadViewState_System_Object_" data-uid="FarPoint.Web.Spread.FormulaExtender.LoadViewState(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.LoadViewState.html#FarPoint_Web_Spread_FormulaExtender_LoadViewState_System_Object_">LoadViewState(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the saved view state.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaExtender_OnInit_System_EventArgs_" data-uid="FarPoint.Web.Spread.FormulaExtender.OnInit(System.EventArgs)">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.OnInit.html#FarPoint_Web_Spread_FormulaExtender_OnInit_System_EventArgs_">OnInit(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds resolvers and data providers.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaExtender_OnLoad_System_EventArgs_" data-uid="FarPoint.Web.Spread.FormulaExtender.OnLoad(System.EventArgs)">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.OnLoad.html#FarPoint_Web_Spread_FormulaExtender_OnLoad_System_EventArgs_">OnLoad(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates all formulas after Page_LoadComplete.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaExtender_RemoveFormula_System_String_" data-uid="FarPoint.Web.Spread.FormulaExtender.RemoveFormula(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.RemoveFormula.html#FarPoint_Web_Spread_FormulaExtender_RemoveFormula_System_String_">RemoveFormula(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a control formula.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaExtender_SaveViewState" data-uid="FarPoint.Web.Spread.FormulaExtender.SaveViewState">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.SaveViewState.html#FarPoint_Web_Spread_FormulaExtender_SaveViewState">SaveViewState()</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the current state.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_FormulaExtender_TrackViewState" data-uid="FarPoint.Web.Spread.FormulaExtender.TrackViewState">
          <a class="xref" href="FarPoint.Web.Spread.FormulaExtender.TrackViewState.html#FarPoint_Web_Spread_FormulaExtender_TrackViewState">TrackViewState()</a>
        </td>
        <td class="markdown level1 summary"><p>Tracks the view state.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
