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?

Answers were Sorted based on User's Feedback



What is ViewState and How it is managed,Its Advantages/Benefits?..

Answer / m.sivakumar

ViewState is a speacial object that ASP.NET uses to maintain
the state of page and all webcontrols/ServerControls within
it.

It is in this object preserves the states of various FROM
elements during Postbacks.
It is rendered to client(browser) as a Hidden
variable_VIEWSTATE under<form> tag.
we can also custom values to it.

Is This Answer Correct ?    20 Yes 1 No

What is ViewState and How it is managed,Its Advantages/Benefits?..

Answer / anitha

viewState is a speacial object that ASP.NET uses to maintain
the state of page and all webcontrols/ServerControls within
it.

Is This Answer Correct ?    6 Yes 4 No

What is ViewState and How it is managed,Its Advantages/Benefits?..

Answer / 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

What is ViewState and How it is managed,Its Advantages/Benefits?..

Answer / kinjal panchal

View State:- The web is a sate less. In asp.net the sate of
the page maintain by Asp.net itself.In asp.net encrypted
values store in the hidden controls and this is maintain by
asp.net itself.

View state is managed by Asp.net itself.
if u wanna check then write "enableviewstate="flase"" in
.aspx page.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What is wrong with a line like this? DateTime.Parse(myString)

5 Answers   Metasys,


can we pass values from one page to another page without redirecting to that page?

6 Answers   Google, Patni, Syntel, Wipro,


How can we prevent an aspx page get refreshed when any information fetch from the database ?

2 Answers   Minecode,


Explain Features in ASP.NET

0 Answers   Microsoft,


What is sta?

0 Answers  


What does the "EnableViewState" property do? Why would I want it on or off?

3 Answers  


Is It Possible for Static Variables access normal variable? and Normal Varialbe Access the static Variables?

1 Answers   Phoenix Technologies,


About remoting and web services. Difference between them?

2 Answers   Microsoft,


If i have a web page, and one web user control, where in web page contains a text box, and web user control have check box, if i place a web user control in the webpage, when i check the check box, the out put should show it is checked or not. How we can do this?

1 Answers   CGI,


In ViewState How much lifespan items stored?

0 Answers   Siebel,


what is view state?

10 Answers   Satyam,


What is virtual directory in asp.net?

0 Answers  


Categories