3 August 2013

Alternative to View State in MVC in Asp.net

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


1 comment:

  1. 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.

    Hire ASP.Net MVC developer in India

    ReplyDelete

Comments Welcome

Implementing OAuth validation in a Web API

 I mplementing OAuth validation in a Web API Implementing OAuth validation in a Web API using C# typically involves several key steps to sec...