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






Glossary Item Box

Specifies the client side (JavaScript) function name that will be invoked when control value is about to changed Specifies the client side (JavaScript) function name that will be invoked when control value is about to changed.

Syntax

Visual Basic (Declaration) 
<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")>
<ISNet.EventParameterAttribute("controlId,oldValue,oldText,newValue,newText")>
<ISNet.Serialization.XmlSerializableAttribute()>
<System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control value is about to changed. Parameters (controlId,oldValue,oldText,newValue,newText)")>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property OnBeforeValueChanged As System.String
Visual Basic (Usage)Copy Code
Dim instance As WebInputClientSideEvents
Dim value As System.String
 
instance.OnBeforeValueChanged = value
 
value = instance.OnBeforeValueChanged
C# 
[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")]
[ISNet.EventParameterAttribute("controlId,oldValue,oldText,newValue,newText")]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control value is about to changed. Parameters (controlId,oldValue,oldText,newValue,newText)")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public System.string OnBeforeValueChanged {get; set;}
Delphi 
public read-write property OnBeforeValueChanged: System.String; 
JScript 
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")
ISNet.EventParameterAttribute("controlId,oldValue,oldText,newValue,newText")
ISNet.Serialization.XmlSerializableAttribute()
System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control value is about to changed. Parameters (controlId,oldValue,oldText,newValue,newText)")
System.ComponentModel.NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
public function get,set OnBeforeValueChanged : System.String
Managed Extensions for C++ 
[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")]
[ISNet.EventParameterAttribute("controlId,oldValue,oldText,newValue,newText")]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control value is about to changed. Parameters (controlId,oldValue,oldText,newValue,newText)")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property System.string* get_OnBeforeValueChanged();
public: __property void set_OnBeforeValueChanged( 
   System.string* value
);
C++/CLI 
[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")]
[ISNet.EventParameterAttribute("controlId,oldValue,oldText,newValue,newText")]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control value is about to changed. Parameters (controlId,oldValue,oldText,newValue,newText)")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property System.String^ OnBeforeValueChanged {
   System.String^ get();
   void set (    System.String^ value);
}

Property Value

The default is null.

Remarks

Parameters :
  • controlId - string
  • oldValue - string
  • oldText - string
  • newValue - string
  • newText - string

Example

C#Copy Code
function doBeforeValueChanged(controlId,oldValue,oldText,newValue,newText)
{
	// 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.