KaxSchedulerOnClientAppointmentsPopulating Property |
Namespace: Kettic.AspNet.Controls
If specified, the OnClientAppointmentsPopulating client-side event handler is called when the scheduler is about to request appointments.
In the case of server-side binding, the event will not be raised.
When client-side binding is used, the event will be raised before the appointments are retrieved from the data service. The event will be raised again each time new data is about to be retrieved from the web service.
Two parameters are passed to the handler:
This event can be cancelled.
<script type="text/javascript">
function clientAppointmentsPopulatingHandler(sender, eventArgs)
{
alert("Data loading");
eventArgs.get_schedulerInfo().CustomProperty = "My Data";
}
</script>
<kettic:KaxScheduler ID="KaxScheduler1"
runat="server"
OnClientAppointmentsPopulating="clientAppointmentsPopulatingHandler">
....
</kettic:KaxScheduler>