# C1.Web.Mvc.BaseCollectionViewService-1.RefreshOnEdit

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_BaseCollectionViewService_1_RefreshOnEdit_" data-uid="C1.Web.Mvc.BaseCollectionViewService`1.RefreshOnEdit*">RefreshOnEdit Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_BaseCollectionViewService_1_RefreshOnEdit_" data-uid="C1.Web.Mvc.BaseCollectionViewService`1.RefreshOnEdit*"></a>
<h4 id="C1_Web_Mvc_BaseCollectionViewService_1_RefreshOnEdit" data-uid="C1.Web.Mvc.BaseCollectionViewService`1.RefreshOnEdit">RefreshOnEdit</h4>
<div class="markdown level1 summary"><p>Gets or sets a value that determines whether the CollectionView should automatically refresh its results (by applying the sort, filter, and grouping operations) after items are edited.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual bool RefreshOnEdit { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Property RefreshOnEdit As Boolean</code></pre>
</div>
<h5 id="C1_Web_Mvc_BaseCollectionViewService_1_RefreshOnEdit_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property is set to <b>true</b> by default, which ensures the collection is always sorted, filtered, and grouped correctly after any edit operations.</p>
</div>
</div>
