Skip to content
Loading
Cannot read property 'replace' of undefined  
  •   
  • class="card-body">  
  • "categorieErrorMsg">  
  • @Html.ValidationMessageFor(model => model.Categories, ""new { @class = "text-danger" })  
  •   
  • "category-values">  
  • class="table table-condensed" id="category-table">  
  •   
  •   
  • @Html.DisplayNameFor(model => model.Categories.First().Name)  
  • @Html.DisplayNameFor(model => model.Categories.First().InvoiceLabel)  
  • @Html.DisplayNameFor(model => model.Categories.First().TaxRate)  
  • @Html.DisplayNameFor(model => model.Categories.First().TaxCode)  
  • @Html.DisplayNameFor(model => model.Categories.First().Attribute)  
  • Valid value  
  • @Html.DisplayNameFor(model => model.Categories.First().StartDate)  
  • @Html.DisplayNameFor(model => model.Categories.First().EndDate)  
  •   
  •   
  •   
  • "category-table">  
  • @Html.EditorFor(model => model.Categories, new { htmlAttributes = new { @class = "form-control" } })  
  •   
  •   
  •   
  •   
  •   
  • 6 Replies

    Know the answer? Post it — somebody with the same question will find it here.