Click or drag to resize
KaxSchedulerOnClientNavigationComplete Property
Gets or sets a value indicating the client-side event handler that is called when a navigation command has been completed.

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 OnClientNavigationComplete { 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 OnNavigationComplete client-side event handler is called when a navigation command has been completed.

The event will be raised only when client-side binding is used.

Two parameters are passed to the handler:

  • sender, the scheduler client object;
  • eventArgs with one properties:
    • get_command(), the navigation command that is being processed.

This event cannot be cancelled.

Examples

<script type="text/javascript">
function clientNavigationCompleteHandler(sender, eventArgs)
{
if (eventArgs.get_command() == Kettic.AspNet.Controls.SchedulerNavigationCommand.SwitchToDayView)
alert("Displaying day view");
}
</script>

<kettic:KaxScheduler ID="KaxScheduler1"
runat="server"
OnNavigationComplete="clientNavigationCompleteHandler">
....
</kettic:KaxScheduler>

See Also