This question is locked. New answers and comments are not allowed.
Dear telerik developers/users,
I have the following code :
the problem is if you enter a number value in which is not valid and not presents in the related list (for example:937493) the validation passes! (it just checks if the value is number or not which emitted from EF model validation)
I have the following code :
@(Html.Telerik().ComboBoxFor(model => model.ContactId) .AutoFill(true) .BindTo(((IEnumerable<Contact>)ViewBag.PossibleContacts).Select(option => new SelectListItem { Text = (option == null ? "(empty") : option.Title), Value = option.Id.ToString(), Selected = (Model != null && option.Id == Model.ContactId) })) .HighlightFirstMatch(true) .OpenOnFocus(true) )
@Html.ValidationMessageFor(model => model.ContactId)
the problem is if you enter a number value in which is not valid and not presents in the related list (for example:937493) the validation passes! (it just checks if the value is number or not which emitted from EF model validation)