what is view state

Answers were Sorted based on User's Feedback



what is view state..

Answer / deepak bajpai

In ASP.NET pages, the view state represents the state of
the page when it was last processed on the server. It's
used to build a call context and retain values across two
successive requests for the same page. By default, the
state is persisted on the client using a hidden field added
to the page and is restored on the server before the page
request is processed. The view state travels back and forth
with the page itself, but does not represent or contain any
information that's relevant to client-side page display. In
this column, I'll take a tour of the view state
implementation in ASP.NET and show how to keep your Web
pages fit and trim and a bit more secure.

Is This Answer Correct ?    1 Yes 0 No

what is view state..

Answer / nitya

ViewState is a concept of maintaining controls properties
under postback implementation.it can be implemented in the
form of hidden field.

Is This Answer Correct ?    1 Yes 0 No

what is view state..

Answer / rajeev

it is the internal structure, automatically retains value
of the controls in the hidden fields on the page.

Is This Answer Correct ?    1 Yes 1 No

what is view state..

Answer / kalpana reddy

It is the process of maintaing controls data under postback
implimentation.It can be implimented by using Hidden field.

Is This Answer Correct ?    0 Yes 0 No

what is view state..

Answer / sudheekar reddy

Viewstate is provided as a concept and also as an object.
in ASP.NET al controls that require state to retain their
values during round trips are implicitly maintained by
ASP.NET.
When client makes a request for a page, asp.net process
the page at server and gets the processed results. These
results r concatenated into one string. The string is
converted into base64 encoding format and stored in a
HIDDEN FIELD, which is called VIEWSTAT.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Is redux flux?

0 Answers  


How you can access the properties and controls of master pages from content pages?

0 Answers  


Explain parts of assembly?

0 Answers  


What is the difference between an EXE and a DLL?

18 Answers   Infosys, JK Associates, Persistent, TATA, Technosoft, Wipro,


How can we create pie chart in asp.net?

0 Answers  






What is different authentication mechanisms used in ASP.NET?

0 Answers   Amdocs,


Can we have a web application running without web.config file?

0 Answers  


How can you achieve nested Masterpages in 2.0?

1 Answers   Microsoft,


Explain the working of passport authentication.

0 Answers  


How to do state management in ASP.NET?

0 Answers   BirlaSoft,


What is the displayafter property in updateprogress control?

0 Answers  


Explain security types in asp.net?

0 Answers  


Categories