Featured On ...

asp.net

totalasp.co.uk

fuzzysoftware.com

devdex.com

123aspx.com

dotnetfreaks.com

411asp.net

and more ...

ValidatorEntryMultipleEntry

Full path

MadWidgets.Validation.ValidatorEntryMultipleEntry

Declaration

public class ValidatorEntryMultipleEntry : ValidatorEntryClientServer

Hierarchy

Click on the selected class to view any properties or methods that may be accessible through an instance of this class through inheritance.

ValidatorEntryMultipleEntry

Overview

The ValidatorEntryMultipleEntry class is the base class for all validation entries that need to validate two or more other ValidatorEntry objects. No specification is made by this class on how the children of this class should be validated. That's left up to subclasses to decide. Subclasses must override ClientSideCode() and ClientSideValidateCode().

On the client (when client-side code is enabled), all objects contained in an instance of this class, and any subclass inherited from this class, will be validated as soon as any object contained within the tree is validated. The instance of this class containing these objects will be checked for validity only after all sub objects are first validated.

Constructors

Public properties

Public methods


Constructors

ValidatorEntryMultipleEntry

public ValidatorEntryMultipleEntry()

Creates a ValidatorEntryMultipleEntry with no associated message or highlight element signature.

ValidatorEntryMultipleEntry

public ValidatorEntryMultipleEntry(string sMessage)

Creates a ValidatorEntryMultipleEntry with a message but no highlight element signature.

ValidatorEntryMultipleEntry

public ValidatorEntryMultipleEntry(string sMessage, string sHighlightElement)

Creates a ValidatorEntryMultipleEntry with a message but and a highlight element signature.

Public properties

this[int i]

public ValidatorEntry this[int i] {get;}

Returns the FirstObject from the first ValidatorEntry object found in this object whose FirstObject property is not null. If one cannot be found, null is returned from this property.

Count

public int Count {get;}

Returns the number of ValidatorEntry objects found in this object.

Entries

public ArrayList Entries {get;}

Returns an ArrayList containing all of the leaf objects found in this object and all objects thereunder. Objects inherited from this class are not returned in the list.

FirstObject

public override object HighlightElement {get;}

Returns the FirstObject from the first ValidatorEntry object found in this object whose FirstObject property is not null. If one cannot be found, null is returned from this property.

HighlightElement

public override string HighlightElement {get;}

Returns the client-side highlight element signature of the first ValidatorEntry object found in the list of ValidatorEntry objects found in this object. This property will dig recursively until it cannot dig any deeper. If the object found has a null HighlightElement then a null is returned regardless whether another object found has a non-null HightlightElement property.

Public methods

Add(ValidatorEntry ve)

public void Add(ValidatorEntry ve)

Adds a ValidatorEntry object to this object.

© 2002 - 2009 Copyright, Disclaimer and Privacy Statement