在Asp.Net MVC3中,我是新的,我试图使用CKEditor。但无法得到我输入的文本,然后我推送提交。无法从CKEditor中获取文本MVC3
笔者认为:
<form method=post action="@Url.Action("Description")">
<textarea class="ckeditor" id="editor1" rows="10" name="Details">@Resources.Resources.DescriptionSampleText</textarea>
<input type="submit" />
</form>
而且控制器有我需要的文字:
[HttpPost]
public ActionResult Description(string textdetails)
{
//Doing something with the text
return RedirectToAction("Create", "Project", new { text = textdetails});
}
我在做什么错?