ClientScriptManager::RegisterForEventValidation Method (String^)
.NET Framework (current version)
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: