This documentation is archived and is not being maintained.
ValidationSummary::OnInit Method
Visual Studio 2010
Raises the Init event.
Assembly: System.Web (in System.Web.dll)
Parameters
- e
- Type: System::EventArgs
The event data.
After this method calls the base control's OnInit method, it sets the ForeColor property to Red if the following conditions are true:
The ForeColor property is not already set.
The Control::RenderingCompatibility property indicates an ASP.NET version earlier than 4. By default, in ASP.NET 4 and later versions, validator controls do not display error messages in red. For information about how to control the visual appearance of validator controls, see Validating User Input in ASP.NET Web Pages.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: