Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.Validator Class Reference

The base class for validators to be used to validate fields in a model. The model will call the validate method, which may be overridden by subclasses. More...

Inheritance diagram for Ext.Net.Validator:
Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase Ext.Net.BoundValidator Ext.Net.FormatValidator Ext.Net.ListValidator Ext.Net.PresenceValidator Ext.Net.LengthValidator Ext.Net.RangeValidator Ext.Net.EmailValidator Ext.Net.ExclusionValidator Ext.Net.InclusionValidator

Classes

class  Builder
 
class  Config
 

Properties

abstract string Type [get]
 Alias More...
 
virtual string Field [get, set]
 The name of the field to validate More...
 
virtual string Message [get, set]
 The error message used when a validation fails More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 
virtual IControlBuilder ToNativeBuilder ()
 
- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

The base class for validators to be used to validate fields in a model. The model will call the validate method, which may be overridden by subclasses.

Property Documentation

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.Validator.ConfigOptions
get

◆ Field

virtual string Ext.Net.Validator.Field
getset

The name of the field to validate

◆ Message

virtual string Ext.Net.Validator.Message
getset

The error message used when a validation fails

◆ Type

abstract string Ext.Net.Validator.Type
getprotected

Alias


The documentation for this class was generated from the following files: