# C1.Web.Mvc.BaseODataCollectionViewService-1.OnClientError

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_BaseODataCollectionViewService_1_OnClientError_" data-uid="C1.Web.Mvc.BaseODataCollectionViewService`1.OnClientError*">OnClientError Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_BaseODataCollectionViewService_1_OnClientError_" data-uid="C1.Web.Mvc.BaseODataCollectionViewService`1.OnClientError*"></a>
<h4 id="C1_Web_Mvc_BaseODataCollectionViewService_1_OnClientError" data-uid="C1.Web.Mvc.BaseODataCollectionViewService`1.OnClientError">OnClientError</h4>
<div class="markdown level1 summary"><p>Occurs when there is an error reading or writing data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override string OnClientError { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Property OnClientError As String</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><span class="xref">C1.Web.Mvc.BaseCollectionViewService&lt;T&gt;.OnClientError</span></div>
</div>
