Using Control State in ASP.NET 2.0

Category:
C#, VB.NET, ASP.NET
Type:
Applications
Difficulty:
Beginning
Author:
Scott Lysle

Version Compatibility: Visual Basic.NET

More information:
This project exhibits a simple approach to maintaining control state in an ASP.NET 2.0 custom web control. 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.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download testcontrolstateex.zip