View State In Asp.Net
- One of the good features in Asp.net Web forms is View State
- Using this we can implement state management for Web Forms
- View State is the concept of Collection Property
- View State is for page means, it provides a state for Controls of the Page and For Variables Objects of the PagE
- For controls it will manage state implicitly that means, we need not write any logic to perform state management for controls.
- We have two properties 1)Enable View State 2) View State Mode
- Using this we can control the state of our form and its child controls enable View state of our form and its properties and dependent on its parent control with view state we can manage the state more effectively.
- For Variable we have to provide state (Explicitly) and for that also asp.net provide View State property which means the same View State Concept but with Explicit implementation Combine for single page using View State We can Provide Rich State full Out Put
No comments:
Post a Comment