Click or drag to resize
KaxSchedulerOnClientResourcesPopulated Property
Gets or sets a value indicating the client-side event handler that is called when the scheduler has received resources from the Web Service.

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 OnClientResourcesPopulated { 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 OnClientResourcesPopulated client-side event handler is called when the scheduler has received 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 after the resources have been retrieved from the data service. The event will be raised only once, at the time of the initial load.

One parameter is passed to the handler:

  • sender, the scheduler client object;

This event cannot be cancelled.

Examples

<script type="text/javascript">
function clientResourcesPopulatedHandler(sender)
{
alert("Resources loaded");
}
</script>

<kettic:KaxScheduler ID="KaxScheduler1"
runat="server"
OnClientResourcesPopulated="clientResourcesPopulatedHandler">
....
</kettic:KaxScheduler>

See Also