ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 812
نمايش فراداده

ServerValidateEventHandlerserializable

System.Web.UI.WebControls (system.web.dll)delegate

This delegate specifies the signature an event handler method must have in order to receive the ServerValidate event of the CustomValidator control. This delegate uses a special System.EventArgs object, ServerValidateEventArgs, which passes the value that needs to be validated and allows the event handling code to specify whether validation was successful.

public delegate void 

ServerValidateEventHandler (object

source , ServerValidateEventArgs

args );

Associated Events

System.Web.UI.MobileControls.CustomValidator.ServerValidate( ), CustomValidator.ServerValidate( )