Completed
Last Updated: 18 Jan 2024 07:55 by ADMIN
Release 2024 Q1
Akesh Gupta
Created on: 03 Mar 2020 07:20
Category: UI for ASP.NET Core
Type: Bug Report
1
Validation attributes not rendered on Kendo editors if ViewData contains model property name

Bug report

Validation attributes are not rendered on Kendo editors if ViewData contains same key as the model.

Reproduction of the problem

@{
  ViewData["Title"] = "Home Page"; 
}

@using (Html.BeginForm())
{
  @Html.Kendo().TextBoxFor(model => model.Title)
}

<script>
  $(function () {
    $("form").kendoValidator();
  });
</script>

Current behavior

Validation attributes are not rendered.

Expected/desired behavior

Validation attributes should be rendered on the input element.

Environment

  • Kendo UI version: 2020.1.219
  • Browser: [all]
0 comments