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


public sealed class SupportsEventValidationAttribute : Attribute


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.


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