Posts

Showing posts from November, 2007

Control State in ASP.Net 2.0

After long gap & some poem posting i have finally decided to get back to business. So while surfing the net for Control State in ASP .Net i have come across some good articles for Control state. Control state is a new construct within ASP.NET 2.0, and it is really nothing more than view state; however, it is view state with a significant advantage; that advantage is that other developers using your control cannot disable control state as they can view state. Control state survives even if the developer using the custom control disables view state. The advantage is pretty obvious; in prior versions of Visual Studio, the consumer of a custom control could disable view state; if the control relied on view state to maintain state information, the control would cease to function or at least misbehave. Creating control state removed the ability of a control consumer to disable view state based state management within the control; naturally, the control designer may still opt to not use e...