Asp.net MVC Wysiwyg EditorTemplate
I have implemented CKEditor via an EditorTemplate called wysiwyg.ascx
Everything loads fine in edit view, when I attempt to save the model back to开发者_JAVA技巧 the database via POST Edit ActionResult in the controller. the property that uses the wysiwyg comes back null. I am not sure how to solve this.
<%= Html.TextArea**("Description",** Model, 5, 100, new { @class = "ckeditor" })%>
The problem was due to the Name. "Description" clear Description and replace with "".
精彩评论