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
Explain different types of Caching techniques in ASP.NET?
Explain the namespace classes used in asp.net mvc? : asp.net mvc
How does viewstate work?
Why viewstate is used in asp.net?
What is directive in asp net?
Why we go for mvc instead of asp.net? : Asp.Net MVC
What are the benefits of Razor View?
What's the use of response.output.write()?
How to comment out asp.net tags?
How Session use Cookies in State Management?
What methods are fired during the page load? Init()
Where do the cookie state and session state information be stored?
Explain security types in asp.net?
How to sign out from forms authentication?
How do I send an email message from my ASP.NET page?