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 view state?

Answer Posted / madhunathanv

ViewState is confined only to the page cycle ,
When the Viewstate is declared in the particular Method in
the Page ,it can be called in other methods or Events when
it is in Need.
ie.., it persists its state across postbacks
**********************'
ViewState Declared As:'
**********************'
ViewState["ViewStateVariableName"] = 1;
**********************************'
Above ViewState Can be called As: '
**********************************'
int number = (int) ViewState["ViewStateVariable"];

AFAIK

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is asp net theme?

1058


How do you initiate validation on the server manually? What are two situations when you might you want to do that?

1882


Which platform does Microsoft .NET use for exchanging data between applications?

1101


Explain http handlers? Where we can use the http handlers?

1281


Explain diff between dataset and datareader?

1033


What is the full form of asp.net?

1095


In which event of the page viewstate is available?

927


Why do we need a web application session?

1033


How are sessions stored?

1042


What is Dynamic Web and discuss its usage with the help of real life examples?

1092


How to bind all the binding controls in a page at once in ASP.NET?

1009


What is the use of session?

984


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

1083


How do you implement sql caching in asp.net?

1105


What are the layouts of ASP.NET Pages?

1093