Hello, I have the following editor which is inside of a shared view:
@model Common.Models.Zone
<
html
>
<
head
></
head
>
<
body
>
<
table
>
<
tr
>
<
td
>
@Html.LabelFor(zone => zone.Page)
</
td
>
<
td
>
@Html.Partial("PageSelector")
</
td
>
</
tr
>
<
tr
>
<
td
>
@Html.LabelFor(zone => zone.ZoneContents)
</
td
>
<
td
>
@(Html.Kendo().EditorFor(zone => zone.ZoneContents))
</
td
>
</
tr
>
</
table
>
</
body
>
</
html
>
The editor opens fine, but as soon as I try to apply any formatting to any text (if the text is "Test") and I try to bold "Test", when I click update I just get a bunch of errors in the jquery-1.8.2.js file. The error getting thrown is on line 5303 in the jquery file and the error message only says "SyntaxError".
How could such a simple example go so wrong? Are these controls really that difficult to get working correctly? Not all that impressed so far I have to say. I follow examples and things don't work. I start with the simplest possible configuration and things don't work. Also, if I set the name property on my editor the content property in my model is ALWAYS null when going back to the server.
What could I possibly be doing wrong here?
Thanks!