Hi Team,
I would like to request a way to bind a Kendo UI Template to a UI for ASP.NET MVC CheckBox HtmlHelper. At the moment, it only accepts a boolean, so a string template will not work as expected.
Thank you!
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