开发者

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 "".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜