When the Validator component configuration is defined using the HtmlAttributes method, the validation message for the component is rendered inside the component's DOM structure. This results in appearing of the validation message between the component's input and popup list.
If the validation message is defined using HtmlHelper as follows:
@Html.ValidationMessageFor(model => model.SelectedOnsiteServiceType)
The reported issue is not reproduced.
For demo project, please refer to ticket 1455511
@(Html.Kendo().MultiSelect() .Name("Months") .Placeholder("Start Typing...") .HtmlAttributes(new { style = "width:350px;", required = "required", data_required_msg = "Months is a Required Field", }) .DataSource(source => { source.Read(read => { read.Action("PopulateMonths", "Home"); }); }) )
$(function () { $("form").kendoValidator(); });
The validation message appears between the input and popup of the component. The popup field doesn't cover the validation message.
The validation message should be inserted after the MultiSelect component in the DOM tree. Once the popup of the component appears on the screen, it should be stuck to the input field and cover the validation message.