Override this method if you create a custom server control that saves its view state without taking case into account. When you do so multiple objects with the same key, but with different casing, can be stored in the StateBag associated with the ViewState property.
// Override the ViewStateIgnoresCase property to allow the same// entries with different casing to be stored in the control's// ViewState property.protectedoverridebool ViewStateIgnoresCase
{
get
{
returntrue;
}
}
Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.