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 we can solve machine key error in asp.net?

3 Answers  


In Crystal Report Refresh Button is not working. when I click on it it givesh error like "missing parameter values " I have used propery of Crystal Viewer like ReuseParameterValuesOnRefresh="True" but this also not working. Plz give me any solution.

1 Answers  


What are the merits and demerits of viewstate?

0 Answers   Siebel,


what is the difference b/w Asp.net server controls and html server controls in .net?

2 Answers   iGate, Profiniti Systems,


If you want to write your own dot net language, what steps you will you take care?

0 Answers  






What is the syntax for datagrid and specifying columns ?

2 Answers   Microsoft,


In asp.net application, if a webpage or total application seems too slow or getting delayed to load completely in the browser. As a developer, what are the checkings or actions you will take in the application or server side to rectify the slowness or delay load or which are the factors related to this issue? How we can trace it?

1 Answers  


what are the main advantage in .net?

4 Answers   TCS,


When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the class for the form. What item is added? a) The event registration. b) A protected class member for the control. c) A default event handler for the click event. d) A default class that inherits from the control?s base class.

4 Answers   Syntax Softtech, TCS,


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

0 Answers  


What do you mean by View State and what is its role?

0 Answers   Wipro,


Explain the difference between Repeater and Data list control in ASP.NET?

0 Answers  


Categories