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

How does the cookies work in asp.net?

0 Answers  


Which namespace is used by ado.net?

0 Answers  


What is the use of session state and application state and difference between them?

0 Answers  


What are the differences between primary foreign and unique keys?

0 Answers  


When does the application ONEND event handler fire?

1 Answers   C Squared Systems, Verinon Technology Solutions,






What is CTS, CLS and CLR ?

20 Answers   CGI, Palm Technology, Reliable Technology, Satyam, Synergy, TCS,


Explain asp.net page life cycle?

0 Answers  


How do http sessions work?

0 Answers  


What are standard controls?

0 Answers  


what is code access security,role based security explain with example

1 Answers   Infosys,


What’s difference between “optimistic” and “pessimistic” locking?

0 Answers  


version information of assembly consist of _________ values.

3 Answers   AG Technologies,


Categories