KaxSchedulerOnClientRecurrenceExceptionCreating Property |
Gets or sets a value indicating the client-side event handler that is called when
a recurrence exception is about to be created via Web Service call.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic string OnClientRecurrenceExceptionCreating { get; set; }
Public Property OnClientRecurrenceExceptionCreating As String
Get
Set
public:
property String^ OnClientRecurrenceExceptionCreating {
String^ get ();
void set (String^ value);
}
member OnClientRecurrenceExceptionCreating : string with 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.
RemarksIf specified, the OnClientRecurrenceExceptionCreating client-side event
handler is called when a recurrence exception is about to be created via Web Service call.
In the case of server-side binding, the event will not be raised.
Two parameters are passed to the handler:
- sender, the scheduler client object;
- eventArgs with two properties:
- get_appointment(), the appointment that represents the recurrence exception that is about to be stored.
- set_cancel(), set to true cancel the operation.
- get_schedulerInfo(), the schedulerInfo object that will be passed to the web service method.
This event can be cancelled.
Examples<script type="text/javascript">
function clientRecurrenceExceptionCreating(sender, eventArgs)
{
alert("Operation cancelled");
eventArgs.set_cancel(true);
}
</script>
<kettic:KaxScheduler ID="KaxScheduler1"
runat="server"
OnClientRecurrenceExceptionCreating="clientRecurrenceExceptionCreating">
....
</kettic:KaxScheduler>
See Also