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 diff. Between abstract class and an interface?

1028


What is the good practice to implement validations in aspx page?

1088


Define a static class?

968


What is custom events?

1033


How to use multiple scriptmanager controls in a web page?

1084


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

875


Can we have multiple master pages in asp net?

958


in which protocol ASP.NET WEB API Work?

1089


What is the maximum timeout we can set for Cookies?

969


What is s2s tracking?

965


What are the disadvantages of using session?

1078


If 200 is for all successful operation then why do we have 201 response codes?

900


Explain about the .NET framework?

1047


Why we use content place holder in asp.net?

1020


Is it possible to migrate visual interdev design-time controls to asp.net?

1037