Click or drag to resize
KaxSchedulerOnClientAppointmentDataBound Property
Gets or sets a value indicating the client-side event handler that is called when an appointment is received from the Web Service and is about to be rendered.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public string OnClientAppointmentDataBound { get; set; }

Property Value

Type: String
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Remarks

If specified, the OnClientAppointmentDataBound client-side event handler is called when an appointment is received and is about to be rendered.

In the case of server-side binding, the event will not be raised.

When client-side binding is used, the event will be raised after the appointments are retrieved from the data service. The event will be raised for each appointment that has been retrieved from the web service.

Two parameters are passed to the handler:

  • sender, the scheduler client object;
  • eventArgs with two properties:
    • get_appointment(), the instance of the appointment;
    • get_data(), the original data object retrieved from the web service.

This event cannot be cancelled.

Examples

<script type="text/javascript">
function clientAppointmentDataBoundHandler(sender, eventArgs)
{
alert("Appointment loaded");
}
</script>

<kettic:KaxScheduler ID="KaxScheduler1"
runat="server"
OnClientAppointmentDataBound="clientAppointmentDataBoundHandler">
....
</kettic:KaxScheduler>

See Also