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






Glossary Item Box

Specifies the client side (Java Script) function name that will be invoked when key is pressed down on control. Parameters (controlId)

Syntax

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

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.