
1)The EnableEventValidation attribute indicates whether event validation should be performed. The default value is true.
[ConfigurationPropertyAttribute("enableEventValidation", DefaultValue = true)]
public bool EnableEventValidation { get; set; }
2)When the EnableEventValidation property is set to true, ASP.NET validates that a control event originated from the user interface that was rendered by that control. A control registers its events during rendering and then validates the events during postback or callback handling.
For example, if a list control includes options numbered 1, 2, or 3 when the page is rendered, and if a postback request is received specifying option
number 4, ASP.NET raises an exception. All event-driven controls in ASP.NET use this feature by default.
Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator