What is view state and how this can be done and was this
there in asp ?

Answers were Sorted based on User's Feedback



What is view state and how this can be done and was this there in asp ?..

Answer / babu reddy

View state one of the state management process
it is done by using hidden fields

Is This Answer Correct ?    5 Yes 0 No

What is view state and how this can be done and was this there in asp ?..

Answer / anjireddy bapathu

ViewState is the mechanism that allows state values to be preserved across page postbacks.
it is done by using hidden fields

Is This Answer Correct ?    0 Yes 0 No

What is view state and how this can be done and was this there in asp ?..

Answer / ranjans

View state is the method to preserve the values of the page and controls between the round trip. It is a Page Level state management technique. View state is turned on by default.
Key feature are: 1. Retails the value of the control after post-back without using sessions
2. Creates a custom view provider that lets you store View State information either in the page or on the client machine (SQL Database)

This is not there in ASP . ASP is a stateless web application. That means a new instance of a page is created every time when we make a request to the server to get the page and after the round trip our page has been lost immediately.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

How to disable cut, copy and paste in TextBox using jQuery in asp.net?

0 Answers   HCL,


why we should use more than one web.config files in our application? I have two web.config files in my application. One in the root directory and another one inside a sub folder. When the application runs which web.config file will run? why?

1 Answers  


what is state management,what is the purpose of it,how it will be implemented in real time?

2 Answers  


Where are session variables stored?

0 Answers  


What are different types of directives in .NET ?

1 Answers  






What is the difference between page directive include and action tag include?

0 Answers  


What are the two properties that are common in every validation control?

4 Answers   Siebel,


What is the use Membership in asp.net? and What is the use profiler in asp.net?

1 Answers  


Why do we need Sessions?

0 Answers   QuestPond,


What is a server farm in iis?

0 Answers  


What is the use of web.config? Difference between machine.config and Web.config?

5 Answers  


How does http session work?

0 Answers  


Categories