ClientScriptManager::RegisterForEventValidation Method (String^)

 

Registers an event reference for validation with a unique control ID representing the client control generating the event.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public:
void RegisterForEventValidation(
	String^ uniqueId
)

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: