select

Scheduler / Client-side Events

Rate this demo: Feedback
Run example in: C# VB.NET Change Skin:
Vista
  • BlackBlack
  • DefaultDefault
  • ForestForest
  • HayHay
  • Office2007Office2007
  • OutlookOutlook
  • SimpleSimple
  • SitefinitySitefinity
  • SunsetSunset
  • TelerikTelerik
  • VistaVista
  • Web20Web20
  • WebBlueWebBlue
  • Windows7Windows7
Logged events
all day
Alex's Birthdaydelete
8AM
 
9AM
 
10AM
 
11AM
 
12PM
 
1PM
 
2PM
 
3PM
 
4PM
 
5PM
 
Breakfastdelete
 
 
Technical meetingdelete
 
 
 
Appointment with the dentist.delete
 
Lunchdelete
 
 
Pick up the kids from school.delete
 
 
 
 
 
 
 
Clear log Event log:

Example Source Code & Description

Instructions
Open in new window
  • RadScheduler features rich client-side programming API.

    You can handle the client-side events to customize its behavior. Some of the events can be canceled to prevent the corresponding action from executing.

    RadScheduler currently supports the following events:

    • OnClientAppointmentClick - Occurs when the user clicks an appointment.
    • OnClientAppointmentContextMenu - Occurs when the user right-clicks on an appointment.
    • OnClientTimeSlotClick - Occurs when the user clicks on a time slot in the scheduler.
    • OnClientTimeSlotContextMenu - Occurs when the user right-clicks on a Time Slot.
    • OnClientAppointmentDoubleClick - Occurs when the user double-clicks an appointment.
    • OnClientAppointmentEditing - Occurs when the user edits the appointment. Can be canceled to prevent the edit.
    • OnClientAppointmentDeleting - Occurs when the user tries to delete an appointment. Can be canceled to prevent deletion of the appointment.
    • OnClientAppointmentInserting - Occurs when the user tries to insert an appointment. Can be canceled to prevent deletion of the appointment.
    • OnClientAppointmentResizeStart - Occurs when the user starts resizing an appointment. Can be canceled to prevent the user from initiating a resize.
    • OnClientAppointmentResizing - Occurs on mouse movement during the resizing of an appointment
    • OnClientAppointmentResizeEnd - Occurs when the user stops resizing an appointment. Can be canceled to restore the appointment's original duration.
    • OnClientAppointmentMoveStart - Occurs when the user starts moving an appointment. Can be canceled to prevent the user from initiating a resize.
    • OnClientAppointmenMoving - Occurs as the user is moving an appointment.
    • OnClientAppointmentMoveEnd - Occurs when the user stops moving an appointment. Can be canceled to restore the appointment's original duration.
    • OnClientRecurrenceActionDialogShowing - Occurs just before the dialog appears to ask whether the change the user just started on a recurring appointment is to affect the appointment itself or the entire series. Can be canceled to restore the appointment's original duration.
    • OnClientRecurrenceActionDialogClosed - Occurs when the dialog that asks whether a change affects a single occurrence or an entire series closes.
    • OnClientFormCreated - Occurs when the in-line editor or the edit form is about to appear.

    With Q1 2009, RadScheduler exposes a whole new set of events related to Web Service binding. For those events to occur, RadScheduler needs to be populated via Web Service.

    • OnClientAppointmentsPopulating - Occurs when the scheduler is about to request appointments.
    • OnClientAppointmentsPopulated - Occurs when the scheduler has received appointments from the Web Service.
    • OnClientAppointmentDataBound - Occurs when an appointment is received and is about to be rendered.
    • OnClientAppointmentCreated - Occurs when an appointment is received and has been rendered.
    • OnClientResourcesPopulating - Occurs when the scheduler is about to request resources.
    • OnClientResourcesPopulated - Occurs when the scheduler has received resources.
    • OnClientDataBound - Occurs when the scheduler has been populated with data.
    • OnClientRequestFailed - Occurs when a request to the Web Service has failed.
    • OnClientAppointmentWebServiceInserting - Occurs when an appointment is about to be stored via Web Service call.
    • OnClientAppointmentWebServiceDeleting - Occurs when an appointment is about to be deleted via Web Service call.
    • OnClientAppointmentWebServiceUpdating - Occurs when an appointment is about to be updated via Web Service call.
    • OnClientRecurrenceExceptionCreating - Occurs when a recurrence exception is about to be created via Web Service call.
    • OnClientRecurrenceExceptionsRemoving - Occurs when recurrence exceptions are about to be removed via Web Service call.
Compatible with ASP.NET 2.0, 3.5 AJAX enabled Accessibility Verified!Valid XHTML 1.1! Optimized for Visual Studio 2005, 2008
Copyright 2002-2010 © Telerik. All right reserved  | 
Telerik Inc., 460 Totten Pond Rd, Suite 640, Waltham, MA 02451

www.telerik.com  |  Terms of Use  |  Contact Us