Can someone tell me what happened to the Html.Serialize function mentioned in the url below.
It is not recognized when I try to use it in an MVC2 web application in Visual Studio 2010.
http://weblogs.asp.net/shijuvarghese/archive/2010/03/06/persisting-model-state-in-asp-net-mvc-using-html-serialize.aspx
EDIT. I am using Visual Studio 2010, which comes with built-in mvc2, when I try to use Html.serialize when viewing or partial viewing, which it does not appear in intellisense. Am I missing a link or something else?
. , html. , Views, PartialViews.
:
<%= Html.Serialize("wizardData", Model)%>
? , , .
, , . - , . , .
, , , , . , , . , .
, ! .
ASP.NET 2 Futures DLL, Mvc DLL.
SerializationExtensions.
SerializationExtensions
This is in the MVCFutures assembly, not in the MVC framework. You will need to add the package via nuget or manual download, and then add the use / import statement to Microsoft.Web.Mvc before you can use it in your view.
Source: https://habr.com/ru/post/1774170/More articles:How to programmatically edit a label in a crystal report? - c #Sax analyzes best practices - javaMySQL и транзакции не откатываются назад - c#Как передать указатель и указатель на функцию? - c++MySQL help query - sqlHaving difficulty seeing how to work with many-to-many relationships in MVC2 / EF4 - asp.net-mvc-2Php mysql result returns incorrectly every time from php, but works fine in sql pro and phpmyadmin - phpnhibernate session created on every web request in asp.net MVC2 - asp.netSeam component initialization parameter after request parameters is set - seamJavaScript and PHP options - javascriptAll Articles