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 ViewState and How it is managed,Its
Advantages/Benefits?

Answer Posted / bhoj

is view state is used to persist the web control data across
the post backs.? the answer is NO , because the data of web
control is persisted because of the loadPostbackData() of
life cycle.
view state it will be enable in the OnInitComplete() of page
life cycle,or we can enable at any time of page life cycle
by calling the TrackViewStae() method.
view state is used to store the data at page level.
advantages: if the data is small, store it in view state by
doing this no need to call to database to get the details
but for large data page performance will decrease.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cookie and session?

971


Explain ViewState?

1020


Can we set which type of comparison we want to perform by the CompareValidator control?

1003


What is meant by server side scripting?

938


What threading model used in asp and asp.net?

1043


How will create assesblies at run time?

971


Explain the Order of events in an asp.net page?

1007


Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?

916


Explain difference between dataset and datareader?

1028


What are the differences between primary foreign and unique keys?

1051


What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?

999


what is publisher?

2092


What is the flow of processing of the request? : asp.net mvc

1012


Explain how does asp page work?

998


Is asp.net and .net same?

959