Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is advantage of viewstate and what are benefits ?

Answer Posted / arunendra shukla

When a form is submitted in classic ASP, all form values are cleared. Suppose you have submitted a form with a lot of information and the server comes back with an error. You will have to go back to the form and correct the information. You click the back button, and what happens.......ALL form values are CLEARED, and you will have to start all over again! The site did not maintain your ViewState.With ASP .NET, the form reappears in the browser window together with all form values.This is because ASP .NET maintains your ViewState. The ViewState indicates the status of the page when submitted to the server.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

957


Mention the execution process for managed code?

936


How do we ensure view state has not tampered?

965


What is asp.net mvc5? : Asp.Net MVC

985


What are the uses of list view control in Asp.net?

1000


Which object wraps the state or data of a user?

950


What is asp net theme?

960


Explain model, view and controller represent in an mvc application? : asp.net mvc

893


Difference between singleton and singlecall.

924


Which protocol is used in a web api?

1052


How many web config files can be created for an application?

800


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

969


What is the default authentication mode for asp.net?

1064


Where session id is stored?

934


How you will handle session when deploying application in more than a server?

1049