Click or drag to resize
KaxSchedulerOnClientReminderSnoozing Property
Gets or sets a value indicating the client-side event handler that is called when an appointment reminder is about to be snoozed.

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 OnClientReminderSnoozing { 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 OnClientReminderSnoozing client-side event handler is called when an appointment reminder has been snoozed by the user, before the command is sent to the server.

Two parameters are passed to the handler:

  • sender, the scheduler client object;
  • eventArgs with three properties:
    • get_appointment(), the instance of the appointment.
    • get_reminder(), the snoozed reminder.
    • set_cancel(), used to cancel the event.

This event can be cancelled.

Examples

<script type="text/javascript">
function reminderSnoozing(sender, eventArgs)
{
var appointment = eventArgs.get_appoitment();
var reminder = eventArgs.get_reminder();
// ...
}
</script>

<kettic:KaxScheduler ID="KaxScheduler1"
runat="server"
OnClientReminderSnoozing="reminderSnoozing">
....
</kettic:KaxScheduler>

See Also