Specifies the client side (JavaScript) function name that will be invoked when control is clicked.
Syntax
Visual Basic (Declaration) | |
---|
<System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control is clicked. 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")>
<ISNet.EventParameterAttribute("controlId, date, month, year")>
<ISNet.Serialization.BinarySerializableAttribute()>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.XmlSerializableAttribute()>
Public Overrides NotOverridable Property OnClick As System.String |
C# | |
---|
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control is clicked. 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")]
[ISNet.EventParameterAttribute("controlId, date, month, year")]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
public override System.string OnClick {get; set;} |
Delphi | |
---|
public read-write property OnClick: System.String; override; |
JScript | |
---|
System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control is clicked. 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")
ISNet.EventParameterAttribute("controlId, date, month, year")
ISNet.Serialization.BinarySerializableAttribute()
System.ComponentModel.NotifyParentPropertyAttribute()
ISNet.Serialization.XmlSerializableAttribute()
public override function get,set OnClick : System.String |
Managed Extensions for C++ | |
---|
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control is clicked. 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")]
[ISNet.EventParameterAttribute("controlId, date, month, year")]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
public: __property System.string* get_OnClick() override;
public: __property void set_OnClick(
System.string* value
) override; |
C++/CLI | |
---|
[System.ComponentModel.DescriptionAttribute("Specifies the client side (JavaScript) function name that will be invoked when control is clicked. 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")]
[ISNet.EventParameterAttribute("controlId, date, month, year")]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
public:
property System.String^ OnClick {
System.String^ get() override;
void set ( System.String^ value) override;
} |
Property Value
The default is null.
Remarks
Example
C# | Copy Code |
---|
function doClick(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