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






Glossary Item Box

Specifies the client side (JavaScript) function name that will be invoked when mousedown event is fired on control.

Syntax

Visual Basic (Declaration) 
<ISNet.EventParameterAttribute("controlId, date, month, year")>
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when mousedown event is fired on control. Parameters (controlId, date, month, year)")>
<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")>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
Public Overrides NotOverridable Property OnMouseDown As System.String
Visual Basic (Usage)Copy Code
Dim instance As BaseDateTimeEditorClientSideEvents
Dim value As System.String
 
instance.OnMouseDown = value
 
value = instance.OnMouseDown
C# 
[ISNet.EventParameterAttribute("controlId, date, month, year")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when mousedown event is fired on control. Parameters (controlId, date, month, year)")]
[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")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
public override System.string OnMouseDown {get; set;}
Delphi 
public read-write property OnMouseDown: System.String; override; 
JScript 
ISNet.EventParameterAttribute("controlId, date, month, year")
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when mousedown event is fired on control. Parameters (controlId, date, month, year)")
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")
System.ComponentModel.NotifyParentPropertyAttribute()
public override function get,set OnMouseDown : System.String
Managed Extensions for C++ 
[ISNet.EventParameterAttribute("controlId, date, month, year")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when mousedown event is fired on control. Parameters (controlId, date, month, year)")]
[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")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
public: __property System.string* get_OnMouseDown() override;
public: __property void set_OnMouseDown( 
   System.string* value
) override;
C++/CLI 
[ISNet.EventParameterAttribute("controlId, date, month, year")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when mousedown event is fired on control. Parameters (controlId, date, month, year)")]
[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")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
public:
property System.String^ OnMouseDown {
   System.String^ get() override;
   void set (    System.String^ value) override;
}

Property Value

The default is null.

Remarks

Parameters :
  • controlId - string

Example

C#Copy Code
function doMouseDown(controlId, date, month, year)
{
	// 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.