2010-02-10 61 views
2

我已经通过所谓wysiwyg.ascxAsp.net MVC所见即所得EditorTemplate

一切加载在编辑视图精细的EditorTemplate实施CKEditor的,当我试图通过POST编辑的ActionResult保存模型到数据库中的控制器。使用wysiwyg的财产将返回null。我不知道如何解决这个问题。

+0

您可以发布CKEditor定义的视图部分吗? – 2010-02-10 21:15:52

回答

0
<%= Html.TextArea**("Description",** Model, 5, 100, new { @class = "ckeditor" })%> 

问题出在名称。 “描述”清除描述并用“”替换。