# C1.Web.Mvc.FlexGridBase-1.AllowAddNew

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_FlexGridBase_1_AllowAddNew_" data-uid="C1.Web.Mvc.FlexGridBase`1.AllowAddNew*">AllowAddNew Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_FlexGridBase_1_AllowAddNew_" data-uid="C1.Web.Mvc.FlexGridBase`1.AllowAddNew*"></a>
<h4 id="C1_Web_Mvc_FlexGridBase_1_AllowAddNew" data-uid="C1.Web.Mvc.FlexGridBase`1.AllowAddNew">AllowAddNew</h4>
<div class="markdown level1 summary"><p>Gets or sets a value that indicates whether the grid should provide a new row template so users can add items to the source collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Json(1)]
public virtual bool AllowAddNew { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Json(1)&gt;
Public Overridable Property AllowAddNew As Boolean</code></pre>
</div>
<h5 id="C1_Web_Mvc_FlexGridBase_1_AllowAddNew_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The new row template will not be displayed if the IsReadOnly property</p>
</div>
</div>
