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 a session government?

906


What is preprocessor in .net? Where it use?

987


Which namespace is used by ado.net?

992


What is the difference between mechine.config and web.config?

1229


What is the purpose of url encoding?

979


What is custom attribute?

976


What is ASLM?

1121


Which is the parent class of the web server control?

1070


What are the different types of sessions in asp.net? Name them?

1186


Give an example of what might be best suited to place in the application_start and session_start subroutines?

968


Can more than one person use the same login?

975


How do I open an ashx file?

1078


What is the default timeout for a cookie?

1060


What is an assembly? Explain its parts.

1075


Where is asp.net view state stored?

1005