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

Explain security types in asp.net?

1066


what are the Custom controls in asp.net?

1009


How do I use a proxy server when invoking a web service?

959


How can we Validate a Controls in ASP.NET page using JavaScript?

1135


Explain global assembly cache.

998


Explain managed code an un-managed code.

990


How many types of state management are there in asp net?

1005


What is the life cycle of an asp.net page?

881


how to retrieve property settings from xml .config file.

968


What are the differences between the response.write() and response.output.write()?

983


Which asp.net objects encapsulate the state of the client and the browser?

1058


Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?

965


Define application state variable and session state variable?

963


what is a .xap file? Explain with an example.

994


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

2327