# C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1" class="text-break">CollectionViewServiceBuilder&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;</span>.</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"><span class="xref">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<span class="xref">CollectionViewService</span>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.html">CollectionViewServiceBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.ComponentBuilder-2.html">ComponentBuilder</a>&lt;<span class="xref">CollectionViewService</span>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.html">CollectionViewServiceBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ServiceBuilder-2.html">ServiceBuilder</a>&lt;<span class="xref">CollectionViewService</span>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.html">CollectionViewServiceBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.BaseCollectionViewServiceBuilder-3.html">BaseCollectionViewServiceBuilder</a>&lt;T, <span class="xref">CollectionViewService</span>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.html">CollectionViewServiceBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level6"><span class="xref">CollectionViewServiceBuilder&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.Fluent.ITemplateBuilder-1.html">ITemplateBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.html">CollectionViewServiceBuilder</a>&lt;T&gt;&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CollectionViewServiceBuilder&lt;T&gt; : BaseCollectionViewServiceBuilder&lt;T, CollectionViewService&lt;T&gt;, CollectionViewServiceBuilder&lt;T&gt;&gt;, IHtmlContent, ITemplateBuilder&lt;CollectionViewServiceBuilder&lt;T&gt;&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CollectionViewServiceBuilder(Of T)
    Inherits BaseCollectionViewServiceBuilder(Of T, CollectionViewService(Of T), CollectionViewServiceBuilder(Of T))
    Implements IHtmlContent, ITemplateBuilder(Of CollectionViewServiceBuilder(Of T))</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_Web_Mvc_Fluent_CollectionViewServiceBuilder_1__ctor_C1_Web_Mvc_CollectionViewService__0__" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.#ctor(C1.Web.Mvc.CollectionViewService{`0})">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.-ctor.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1__ctor_C1_Web_Mvc_CollectionViewService__0__">CollectionViewServiceBuilder(CollectionViewService&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.html">CollectionViewServiceBuilder&lt;T&gt;</a> instance to configurate <code class="paramref">component</code>.</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_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_BatchEdit_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.BatchEdit(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.BatchEdit.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_BatchEdit_System_String_">BatchEdit(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.BatchEditActionUrl</span>.
Sets the url of batch edit action.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Bind_System_Collections_Generic_IEnumerable__0__" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.Bind(System.Collections.Generic.IEnumerable{`0})">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.Bind.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Bind_System_Collections_Generic_IEnumerable__0__">Bind(IEnumerable&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.SourceCollection</span>.
Sets the source collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Bind_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.Bind(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.Bind.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Bind_System_String_">Bind(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.ReadActionUrl</span>.
Sets the url of read action.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Create_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.Create(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.Create.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Create_System_String_">Create(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.CreateActionUrl</span>.
Sets the url of create action.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Delete_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.Delete(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.Delete.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Delete_System_String_">Delete(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.DeleteActionUrl</span>.
Sets the url of delete action.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_DisableServerRead_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.DisableServerRead(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.DisableServerRead.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_DisableServerRead_System_Boolean_">DisableServerRead(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.DisableServerRead</span>.
Sets whether to disable server-side sorting, paging and filtering.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Filter_System_Predicate__0__" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.Filter(System.Predicate{`0})">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.Filter.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Filter_System_Predicate__0__">Filter(Predicate&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.Filter</span>.
Sets a method used to determine if an item is suitable for inclusion in the view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_InitialItemsCount_System_Nullable_System_Int32__" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.InitialItemsCount(System.Nullable{System.Int32})">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.InitialItemsCount.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_InitialItemsCount_System_Nullable_System_Int32__">InitialItemsCount(int?)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.InitialItemsCount</span>.
Sets a number value which decides the count of the initial loaded items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientError_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.OnClientError(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.OnClientError.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientError_System_String_">OnClientError(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.OnClientError</span> client event.
Occurs when there are errors from the server side.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientQueryComplete_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.OnClientQueryComplete(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.OnClientQueryComplete.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientQueryComplete_System_String_">OnClientQueryComplete(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.OnClientQueryComplete</span> client event.
Occurs when the query requests complete.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientQueryData_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.OnClientQueryData(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.OnClientQueryData.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientQueryData_System_String_">OnClientQueryData(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.OnClientQueryData</span> client event.
Sets the name JavaScript function which to collect the ajax query data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientReponseTextParsing_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.OnClientReponseTextParsing(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.OnClientReponseTextParsing.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientReponseTextParsing_System_String_">OnClientReponseTextParsing(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.OnClientReponseTextParsing</span> client event.
Occurs when parsing the response text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientRequestDataStringifying_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.OnClientRequestDataStringifying(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.OnClientRequestDataStringifying.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientRequestDataStringifying_System_String_">OnClientRequestDataStringifying(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.OnClientRequestDataStringifying</span> client event.
Occurs when serializing the request data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientSourceCollectionChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.OnClientSourceCollectionChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.OnClientSourceCollectionChanged.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientSourceCollectionChanged_System_String_">OnClientSourceCollectionChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.OnClientSourceCollectionChanged</span> client event.
Occurs after the sourceCollection property in client changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientSourceCollectionChanging_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.OnClientSourceCollectionChanging(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.OnClientSourceCollectionChanging.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_OnClientSourceCollectionChanging_System_String_">OnClientSourceCollectionChanging(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.OnClientSourceCollectionChanging</span> client event.
Occurs before the sourceCollection property in client changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Update_System_String_" data-uid="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder`1.Update(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CollectionViewServiceBuilder-1.Update.html#C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_1_Update_System_String_">Update(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;.UpdateActionUrl</span>.
Sets the url of update action.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
