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?

Answer Posted / sivadatta kodali

This concept comes in the state management.For Asp.net
server controls implicitly the state of control will be
maintained with the support of viewstate.View state will
maintain some information at the Html Hiddenfield and the
will be Encrypted.

If u want to set the value explicitly.

viewstate["Key"]=value;

If u want to Read the value from the viewstate

viewstate["key"].Tostring();

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the events in the life cycle of a web application.

1160


Explain the server control events of asp.net ?

1046


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

1153


What is the current version of asp.net?

1068


Give me one example of Web API Routing?

1134


What is the Difference between MVC And MVP design pattrens

2731


What is the significance of attaching a profile while creating a user?

1114


Explain difference betn dataset and recordset?

989


What is view state and how it works in asp net?

1033


What is the difference between a multi-layer and multi-tier applications?

1059


What are the contents of cookie?

1149


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

1005


Explain cookies with example.

1066


If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

1129


Define data caching?

974