Alternative to View State in MVC in Asp.net
1. For retaining the values during postback in the MVC page values you can use Ajax, so that values in the control won't clear.
2. For temporarily storing the value in current and the subsequent requests use TempData. TempData preserves value for current and next request.
TempData - http://royalarun.blogspot.in/2013/08/viewbag-viewdata-tempdata-and-view.html
TempData - http://royalarun.blogspot.in/2013/08/viewbag-viewdata-tempdata-and-view.html
Using ASP.NET, a programmer can build a dynamic web site. The framework was developed by Microsoft. It uses the Common Language Runtime for writing code on any supported .NET language. Applications can be built using web form pages that are contained in ".aspx" extension files.
ReplyDeleteHire ASP.Net MVC developer in India