ASP.NET Scheduler - UserSettings Class

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

Properties

Name Description
propertyUserID Gets UserID of currently logged-in user


 
propertyLanguage Gets or sets language of current user.

oScheduler.getUserSettings().Language="us-en";
 
propertyTimezone Gets or sets timezone for current user. Timezone take integer value indicate the difference from GMT.

oScheduler.getUserSettings().Timezone=-8; // Timezone is GMT -8:00
 
propertyDateFormat Gets or sets date format.

oScheduler.getUserSettings().DateFormat="mm/dd/yyyy";
 
propertyTimeFormat Gets or sets time format which the Scheduler use to display time.

Available value are:
TimeFormats.TwelveHours
TimeFormats.TwentyFourHours

oScheduler.getUserSettings().TimeFormat=TimeFormats.TwentyFourHours;
 
propertyWeekStart Gets or sets the week starting date. Type of WeekStart property is DayOfWeek

oScheduler.getUserSettings().WeekStart=DayOfWeek.Sunday;
 
propertyShowWeekend Gets or sets whether weekend will be shown.

Note: Currently this property has not been in effect, weekend is shown by default.

oScheduler.getUserSettings().ShowWeekend=true;
 
propertyDefaultView Gets or sets the default view of scheduler when it is loaded.

Available values are
DefaultViews.Day
DefaultViews.Week
DefaultViews.Month
DefaultViews.CustomView

oScheduler.getUserSettings().DefaultView=DefaultViews.Month;
 
propertyCustomViewDayNumber Gets or sets day number of custom view.

oScheduler.getUserSettings().CustomViewDayNumber=4;
 
propertyShowAllEvents Gets or sets if to show all the events from all users.

oScheduler.getUserSettings().ShowAllEvents = true;
 

Methods

Name Description
methodSave() Update user settings and return true value if the update action is successful 

settings.Save();