KaxSchedulerOnClientNavigationCommand Property |
Namespace: Kettic.AspNet.Controls
If specified, the OnClientNavigationCommand client-side event handler is called when the scheduler is about to execute a navigation command.
Two parameters are passed to the handler:
This event can be cancelled.
<script type="text/javascript">
function clientNavigationCommandHandler(sender, eventArgs)
{
if (eventArgs.get_command() == Kettic.AspNet.Controls.SchedulerNavigationCommand.NavigateToNextPeriod)
alert("Navigating to next period");
}
</script>
<kettic:KaxScheduler ID="KaxScheduler1"
runat="server"
OnClientNavigationCommand="clientNavigationCommandHandler">
....
</kettic:KaxScheduler>