I'm using MVC4 with KendoUI 2012.3.1114
I have a model like this...
The contact view is using an editor template to display the phones:
and in the Phone editor template, I have a checkbox...
everything works fine... until I add a kendo validator...
Now when I check/uncheck the checkbox and click away (to trigger blur), I get a js error:
I have a model like this...
class Contact { Phone WorkPhone {get;set;} Phone HomePhone {get;set;}}class Phone { string PhoneNumber {get;set;} bool IsPrimary {get;set;}}@Html.EditorFor(m=>m.WorkPhone)@Html.EditorFor(m=>m.HomePhone)@Html.TextBoxFor(m => m.PhoneNumber) @Html.CheckBoxFor(m => m.IsPrimary)$("#formId).kendoValidator().data("kendoValidator");Webpage error details
Message: Syntax error, unrecognized expression: input:hidden[name=WorkPhone.IsPrimary]
Line: 2
Char: 59140
Code: 0
URI: .../Scripts/kendo/2012.3.1114/jquery.min.js
Is there fix for this?