KaxSchedulerOnClientResourcesPopulating Property |
Namespace: Kettic.AspNet.Controls
If specified, the OnClientResourcesPopulating client-side event handler is called when the scheduler is about to request resources.
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 resources are retrieved from the data service. The event will be raised only once, at the time of the initial load.
Two parameters are passed to the handler:
This event can be cancelled.
<script type="text/javascript">
function clientResourcesPopulatingHandler(sender, eventArgs)
{
alert("Resources loading");
eventArgs.get_schedulerInfo().CustomProperty = "My Data";
}
</script>
<kettic:KaxScheduler ID="KaxScheduler1"
runat="server"
OnClientResourcesPopulating="clientResourcesPopulatingHandler">
....
</kettic:KaxScheduler>