Click or drag to resize
KaxSchedulerOnClientDataBound Property
Gets or sets a value indicating the client-side event handler that is called when the scheduler has been populated with data.

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 OnClientDataBound { 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 OnClientDataBound client-side event handler is called when the scheduler has been populated with data.

In the case of server-side binding, the event will be raised immediately after the control is initialized.

When client-side binding is used, the event will be raised when both the appointments and the resources are retrieved from the data service. The event will be raised again each time new data is retrieved from the web service.

One parameter is passed to the handler:

  • sender, the scheduler client object;

This event cannot be cancelled.

Examples

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

<kettic:KaxScheduler ID="KaxScheduler1"
runat="server"
OnClientDataBound="clientDataBoundHandler">
....
</kettic:KaxScheduler>

See Also