What is view state and how this can be done and was this
there in asp ?
Answer Posted / 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 View All Answers
Differentiate between client-side and server-side validations in web pages.
how to retrieve property settings from xml .config file.
How can u deifne the benefits and limitation of using Viewstate for state management?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?
From which base class all web forms are inherited?
Explain the server control events of asp.net ?
What is a postback in asp net?
What is difference between inproc and outproc?
What is the difference between cookie and session?
How many types of controls are there in asp.net?
What is global.asax file used for?
Why do we need url encoding?
what is the difference between response.write() and response.output.write()?
What is bound controls
What is application variable?