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

A superclass for a validator that checks if a value is within a certain range. More...

Inheritance diagram for Ext.Net.BoundValidator:
Ext.Net.Validator Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase Ext.Net.LengthValidator Ext.Net.RangeValidator

Classes

class  Builder
 
class  Config
 

Public Member Functions

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

Properties

virtual string BothMessage [get, set]
 The error message to return when the value is not in the specified range and both the minimum and maximum are specified. More...
 
virtual string EmptyMessage [get, set]
 The error message to return when the value is empty. Defaults to: 'Must be present'. More...
 
virtual int Max [get, set]
 Maximum value length allowed. More...
 
virtual string MaxOnlyMessage [get, set]
 The error message to return when the value is more than the maximum and only a maximum is specified. More...
 
virtual int Min [get, set]
 Minimum value length allowed. More...
 
virtual string MinOnlyMessage [get, set]
 The error message to return when the value is less than the minimum and only a minimum is specified. More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.Validator
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

- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

A superclass for a validator that checks if a value is within a certain range.

Constructor & Destructor Documentation

◆ BoundValidator()

Ext.Net.BoundValidator.BoundValidator ( )
inline

Property Documentation

◆ BothMessage

virtual string Ext.Net.BoundValidator.BothMessage
getset

The error message to return when the value is not in the specified range and both the minimum and maximum are specified.

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.BoundValidator.ConfigOptions
get

◆ EmptyMessage

virtual string Ext.Net.BoundValidator.EmptyMessage
getset

The error message to return when the value is empty. Defaults to: 'Must be present'.

◆ Max

virtual int Ext.Net.BoundValidator.Max
getset

Maximum value length allowed.

◆ MaxOnlyMessage

virtual string Ext.Net.BoundValidator.MaxOnlyMessage
getset

The error message to return when the value is more than the maximum and only a maximum is specified.

◆ Min

virtual int Ext.Net.BoundValidator.Min
getset

Minimum value length allowed.

◆ MinOnlyMessage

virtual string Ext.Net.BoundValidator.MinOnlyMessage
getset

The error message to return when the value is less than the minimum and only a minimum is specified.


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