Click or drag to resize
KaxDateInputOnClientDateChanged Property

Note: This API is now obsolete.

Gets or sets the JavaScript event handler fired whenever the date of KaxDateInput changes.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[ObsoleteAttribute("Use the ClientEvents.OnValueChanged property instead.", 
	false)]
public string OnClientDateChanged { get; set; }

Property Value

Type: String
A string specifying the name of the JavaScript event handling routine. The default value is empty string ("").
Remarks
The event handler function is called with 2 parameters:
  • A reference to the KaxDateInput object, which triggered the event;
  • An event arguments object that contains the following properties:
    • OldDate - The old date of the KaxDateInput
    • NewDate - The new date of the KaxDateInput
Examples

This example demonstrates the usage of the OnClientDateChanged property.

            <script type="text/javascript&quot>
function onDateChange(dateInput, args)
{
alert("New date:" + args.NewDate);
}
</script>

<kaxI:KaxDateInput
ID="KaxDateInput1"
runat="server"
OnClientDateChanged="onDateChange">
</kaxI:KaxDateInput>
See Also