Intersoft WebInput Documentation
OnBeforeCharValidate Property
See Also  Example Send Feedback
ISNet.WebUI.WebControls Namespace > MaskValidatorClientSideEvents Class : OnBeforeCharValidate Property






Glossary Item Box

Specifies the client side (JavaScript) function name that will be invoked before character value value is validated. Specifies the client side (JavaScript) function name that will be invoked before character value value is validated.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked before character value is validated. Parameters (controlId, value, index)")>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<ISNet.EventParameterAttribute("controlId, value, index")>
<System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")>
Public Property OnBeforeCharValidate As System.String
Visual Basic (Usage)Copy Code
Dim instance As MaskValidatorClientSideEvents
Dim value As System.String
 
instance.OnBeforeCharValidate = value
 
value = instance.OnBeforeCharValidate
C# 
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked before character value is validated. Parameters (controlId, value, index)")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.EventParameterAttribute("controlId, value, index")]
[System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")]
public System.string OnBeforeCharValidate {get; set;}
Delphi 
public read-write property OnBeforeCharValidate: System.String; 
JScript 
System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked before character value is validated. Parameters (controlId, value, index)")
System.ComponentModel.NotifyParentPropertyAttribute()
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
ISNet.EventParameterAttribute("controlId, value, index")
System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")
public function get,set OnBeforeCharValidate : System.String
Managed Extensions for C++ 
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked before character value is validated. Parameters (controlId, value, index)")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.EventParameterAttribute("controlId, value, index")]
[System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")]
public: __property System.string* get_OnBeforeCharValidate();
public: __property void set_OnBeforeCharValidate( 
   System.string* value
);
C++/CLI 
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked before character value is validated. Parameters (controlId, value, index)")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.EventParameterAttribute("controlId, value, index")]
[System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")]
public:
property System.String^ OnBeforeCharValidate {
   System.String^ get();
   void set (    System.String^ value);
}

Property Value

The default is null.

Remarks

Parameters :
  • controlId - string
  • value - string
  • index - int
Edit format validates character value when character value is going to entered and character value is entered.

This property specifies the client-side function to be invoked before a character (that has been entered) is validated.

Parameters : 

  • controlId - string
  • value - string
  • index - int

Example

C#Copy Code
function doBeforeCharValidate(controlId, value, index)
{
	// do some action here ...
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2013 Intersoft Solutions Corp. All Rights Reserved.