MVC-3和Html.Serialize(ASP.NET 4,MVC3) [英] MVC-3 and Html.Serialize (ASP.NET 4, MVC3)
本文介绍了MVC-3和Html.Serialize(ASP.NET 4,MVC3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
目前正在研究在MVC-3的项目。试图把下面的code在我看来,但Visual Studio是告诉我它无法找到Serialize方法。
Currently working on a project in MVC-3. Trying to put the following code in my view, but Visual Studio is telling me it can't find the Serialize method.
@Html.Serialize("User",Model)
(前)
@using (Html.BeginForm())
{
@Html.Serialize("User",Model)
<fieldset>
...
</fieldset>
}
时此功能在MVC-3人失踪?我看到在MVC-2使用它的人们的例证。或许有处理这个问题的新途径?
Is this feature missing in MVC-3? I see examples of people using it in MVC-2. Perhaps there is a new way of handling this issue?
推荐答案
Html.Serialize是在期货大会。
Html.Serialize is in the Futures assembly.
这篇关于MVC-3和Html.Serialize(ASP.NET 4,MVC3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文