System.Web.UI.ClientScriptManager.RegisterForEventValidation Method

Registers an event reference for validation with System.Web.UI.PostBackOptions.

Syntax

public void RegisterForEventValidation (PostBackOptions options)

Parameters

options
A System.Web.UI.PostBackOptions object that specifies how client JavaScript is generated to initiate a postback 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