ServerValidateEventArgs

ServerValidateEventArgs

System.Web.UI.WebControls (system.web.dll)sealed class

This derived System.EventArgs class is used for the CustomValidator.ServerValidate event. This class provides a Value property, which specifies the value that needs to be examined, and an IsValid property, which the event handling code sets to indicate whether the value is valid (True) or invalid (False).

public sealed class ServerValidateEventArgs : EventArgs {
// Public Constructors
   public ServerValidateEventArgs(string value, bool isValid);
// Public Instance Properties
   public bool IsValid{set; get; }
   public string Value{get; }
}

Hierarchy

System.Object System.EventArgs ServerValidateEventArgs

Passed To

ServerValidateEventHandler.{BeginInvoke( ), Invoke( )}



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace