DekGenius.com
[ Team LiB ] Previous Section Next Section

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( )}

    [ Team LiB ] Previous Section Next Section