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






Glossary Item Box

Specifies the client side (JavaScript) function name that will be invoked when control value is 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, dirtySourceType")>
<ISNet.Serialization.XmlSerializableAttribute()>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control state is dirty. Parameters (controlId, dirtySourceType)")>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property OnDirty As System.String
Visual Basic (Usage)Copy Code
Dim instance As WebInputClientSideEvents
Dim value As System.String
 
instance.OnDirty = value
 
value = instance.OnDirty
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, dirtySourceType")]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control state is dirty. Parameters (controlId, dirtySourceType)")]
[ISNet.Serialization.BinarySerializableAttribute()]
public System.string OnDirty {get; set;}
Delphi 
public read-write property OnDirty: 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, dirtySourceType")
ISNet.Serialization.XmlSerializableAttribute()
System.ComponentModel.NotifyParentPropertyAttribute()
System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control state is dirty. Parameters (controlId, dirtySourceType)")
ISNet.Serialization.BinarySerializableAttribute()
public function get,set OnDirty : 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, dirtySourceType")]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control state is dirty. Parameters (controlId, dirtySourceType)")]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property System.string* get_OnDirty();
public: __property void set_OnDirty( 
   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, dirtySourceType")]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control state is dirty. Parameters (controlId, dirtySourceType)")]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property System.String^ OnDirty {
   System.String^ get();
   void set (    System.String^ value);
}

Property Value

The default is null.

Remarks

Parameters :
  • controlId - string
  • dirtySourceType - int

Example

C#Copy Code
function doDirty(controlId, dirtySourceType)
{
	// 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.