ASP.NET Scheduler - Properties

<%@ Register TagPrefix="osd" Namespace="OboutInc.Scheduler" Assembly="obout_Scheduler_NET" %>

Properties - Database Connection

Name Description
propertyConnectionString Gets or sets connection string for Scheduler. 


propertyEventsTableName Gets or sets the name of table which holds Events data. 

oScheduler.EventsTableName="SchedulerEvents";
 
propertyUserSettingsTableName Gets or sets the name of table which holds UserSettings data. 

oScheduler.EventsTableName="SchedulerUserSettings";
 

Properties - Size

Name Description
propertyWidth Gets or sets width of Scheduler. Optional
Note: Width is String property

oScheduler.Width="900";
 
propertyHeight Gets or sets height of Scheduler. Optional
Note: Height is String property

oScheduler.Height="500";
 

Properties - Server-side Events

Name Description
propertyOnBeforeCreateEvent Gets or sets event handle function to be called before an event is created.
This event goes with SchedulerBeforeCreateEventArg More info

propertyOnBeforeUpdateEvent Gets or sets event handle function to be called before an event is updated.
This event goes with SchedulerBeforeUpdateEventArg More info

propertyOnBeforeDeleteEvent Gets or sets event handle function to be called before an event is deleted.
This event goes with SchedulerBeforeDeleteEventArg More info

propertyOnCreateEvent Gets or sets event handle function to be called after an event is created.
This event goes with SchedulerCreateEventArg More info

propertyOnUpdateEvent Gets or sets event handle function to be called after an event is updated.
This event goes with SchedulerUpdateEventArg More info
propertyOnDeleteEvent Gets or sets event handle function to be called after an event is deleted.
This event goes with SchedulerDeleteEventArg More info

Properties - Client-side events

Name Description
propertyOnClientLoad Gets or sets event handle function to be called when scheduler finished loading.


propertyOnClientBeforeCreateEvent Gets or sets event handle function to be called before an event is created.
This event goes with SchedulerClientBeforeCreateEventArg More info

propertyOnClientBeforeUpdateEvent Gets or sets event handle function to be called before an event is updated.
This event goes with SchedulerClientBeforeUpdateEventArg More info

propertyOnBeforeClientDeleteEvent Gets or sets event handle function to be called before an event is deleted.
This event goes with SchedulerClientBeforeDeleteEventArg More info

propertyOnClientCreateEvent Gets or sets event handle function to be called after an event is created.
This event goes with SchedulerClientCreateEventArg More info

propertyOnClientUpdateEvent Gets or sets event handle function to be called after an event is updated.
This event goes with SchedulerClientUpdateEventArg More info

propertyOnClientDeleteEvent Gets or sets event handle function to be called after an event is deleted.
This event goes with SchedulerClientDeleteEventArg More info

propertyOnClientChangeView Gets or sets event handle function to be called after the view has been changed.
This event goes with SchedulerClientChangeViewArg More info

Methods
Name Description
methodLogin(int userid) Login to particular user, loading settings and events. 
Returned value indicated whether Scheduler successfully login.

oScheduler.Login(247);
 
methodgetUserSettings() Return settings detail of loged in user. 
For more detail of UserSettings class, click here

UserSettings settings = oScheduler.getUserSettings();
 
methodgetCategory(int categoryid) Return category with particular id. 
For more detail of Category class, click here

Category category = oScheduler.getCategory(1);
 
methodgetCategories() Return list of all categories 
For more detail of Cateogry class, click here

Category[] categories = oScheduler.getCategories();
 
methodaddCategory(Category category) Add new category to database and return added category.  
For more detail of Event class, click here

Category added_category = oScheduler.addCategory(new_category);
 
methodgetEvent(int eventid) Return event with particular id. 
For more detail of Event class, click here

Event event = oScheduler.getEvent(30);
 
methodgetEvents(DateTime fromTime,DateTime toTime) Return list of events within a period 
For more detail of Event class, click here

Event[] events = oScheduler.getEvents(new DateTime(2008,1,1),new DateTime(2008,1,15));
 
methodaddEvent(Event event) Add new event to database and return added event.  
For more detail of Event class, click here

Event addedevent = oScheduler.addEvent(newevent);