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 a global postback url?

898


What is odata in web api?

1030


What's the ASP.Net Application life cycle?

1038


Describe how to implement globalization and localization in the use interface in .net.

904


What is full form of asp.net?

952


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

987


What are custom controls?

881


What is windows active directory authentication?

999


What is an axd file?

1022


What is the difference between abstract class vs interface? Can give me the real time examples?

905


Which method do you use to kill explicitly a users session?

1002


How Session outproc in Sqlserver stored?

2715


Explain the difference between inline and code behind - which is best in?

956


Explain an object, class and method.

945


How can we create pie chart in asp.net?

1030