System.Web.UI.ClientScriptManager.RegisterForEventValidation Method

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

Syntax

public void RegisterForEventValidation (string uniqueId)

Parameters

uniqueId
A unique ID representing the client control generating the event.

Remarks

For more information and examples, see the ClientScriptManager.RegisterForEventValidation(string, string) method.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0