This documentation is archived and is not being maintained.
ClientScriptManager::RegisterForEventValidation Method (String)
Visual Studio 2010
Registers an event reference for validation with a unique control ID representing the client control generating the event.
Assembly: System.Web (in System.Web.dll)
Parameters
- uniqueId
- Type: System::String
A unique ID representing the client control generating the event.
For more information and examples, see the RegisterForEventValidation method.
The following example shows how to use the RegisterForEventValidation method and the ValidateEvent method in order to register a callback for validation, and how to validate that the callback originated from the page.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, 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: