MVC-3 and Html.Serialize (ASP.NET 4, MVC3)
问题 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) (ex) @using (Html.BeginForm()) { @Html.Serialize("User",Model) <fieldset> ... </fieldset> } 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? 回答1: Html.Serialize is in the Futures assembly. 回答2: Install the Nuget package: Install