Currently, if the field the CheckBoxFor helper is bound to has a custom validation attribute, for example:
[MyCustomValidation(ErrorMessage = "Custom error message.")]
public bool Checkme { get; set; }
[AttributeUsage(AttributeTargets.Property)]
public class MyCustomValidation : ValidationAttribute, IClientValidatable
{
//...
}
the CheckBox's input does not render a data-val-mycustomvalidation="Custom error message." attribute.
The standard MVC @Html.CheckBoxFor helper renders the data-val attribute, so it would be nice if the Telerik's CheckBoxFor helper had the same capabilities.
More details: Ticket ID: 1570806