ASP.NET Scheduler - Client-side Scheduler Functions

List of functions

Name Description
methodregisterEvent(eventName,eventFunc) Register particular client-side event. 

eventName is string type indicating the name of event:
"OnClientLoad"
"OnClientBeforeCreateEvent"
"OnClientCreateEvent"
"OnClientBeforeUpdateEvent"
"OnClientUpdateEvent"
"OnClientBeforeDeleteEvent"
"OnClientDeleteEvent"
"OnClientChangeView"

eventFunc is the custom handle function.

function myHandleFunction(sender,eventArg)
{
...
}
oScheduler.registerEvent("OnClientLoad",myHandleFunction);

 
methodchangeView(view); Change the view of scheduler. 

Available values are:
SchedulerView.Day
SchedulerView.Week
SchedulerView.Month
SchedulerView.CustomView
SchedulerView.Settings

scheduler.changeView(SchedulerView.Day);
 
methodgetEvent(oid) Get an event with id 

scheduler.getEvent(89);
 
methodupdateEvent(theEvent) Update an event to server, the change to event will be permanent. 

theEvent.Subject="New Subject"; scheduler.updateEvent(theEvent);
 
methoddeleteEvent(theEvent) Delete an event from database 

scheduler.deleteEvent(theEvent);
 
methodrefresh() Refresh the scheduler display. 

scheduler.refresh();