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

What's the use of formatters in .net?

1041


What is a master page and what does it do?

928


Define the steps to set up validation control.

1044


What is asp according to you?

1038


What are server activated objects?

1168


Explain the steps needed to be performed in order to create an animation in xaml?

1015


How to reduce the width of textbox in editcommandcolumn of datagrid?

1006


Explain MVC model binders?

1068


Can we store object in viewstate?

978


What is css in asp.net?

1075


What are the main requirements for caching?

1043


Is asp.net web forms dead?

1120


How does output caching work in ASP.NET?

938


Less than one page, how many windows will you be able to maintain?

1011


What is query string in asp.net?

1071