System.Web.UI.SupportsEventValidationAttribute Class

Defines the metadata attribute that Web server controls use to indicate support for event validation. This class cannot be inherited.

See Also: SupportsEventValidationAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class SupportsEventValidationAttribute : Attribute

Remarks

Event validation prevents forged postbacks to an ASP.NET Web page and can be enabled through the EnableEventValidation page directive.

For more information, see Page.EnableEventValidation. For more information about attributes, see Extending Metadata Using Attributes.

Requirements

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