BasicCalendar Class |
Namespace: CMS.DocumentEngine.Web.UI
[SerializableAttribute] public class BasicCalendar : UICalendar, INamingContainer, IRelatedData
The BasicCalendar type exposes the following members.
Name | Description | |
---|---|---|
BasicCalendar |
Constructor.
|
Name | Description | |
---|---|---|
mMonthEvents |
Hashtable with events for current month (key - DateTime, value - DataTable with events).
| |
mOnBeforeInitFired |
True if the on before init was fired.
| |
mRelatedData |
Custom data connected to the object.
| |
mRelatedDataLoaded |
Related data is loaded.
|
Name | Description | |
---|---|---|
CustomTimeZone |
Custom TimeZoneInfo object.
| |
DataMember |
Name of the table when DataSet is used as a DataSource.
| |
DataSource |
Data source with calendar events - either DataSet or DataTable object.
| |
DayField |
Name of the field in the DataSource that contains the datetime value.
| |
DayWithEventsStyle |
Style of the day with an event.
| |
DayWithOutEventsStyle |
Style of the day without an event.
| |
DisplayOnlySingleDayItem |
Indicates whether the only one item is displayed in the day.
| |
EventEndField |
Name of the field in the DataSource that contains the datetime value of event end date.
| |
HideDefaultDayNumber |
Indicates whether the day number is displayed or cell is full filled by the transformation
Current day is saved in the "__day" column
| |
ItemTemplate |
Template for displaying a day with event.
| |
NoEventsTemplate |
Template for displaying a day without any event.
| |
RelatedData |
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
| |
ResolveDynamicControls |
Gets or sets the value that indicates whether dynamic controls should be resolved
| |
SelectedItemID |
ID of selected item displayed in the calendar.
| |
SelectedItemIDColumn |
ID column name of selected item displayed in the calendar.
| |
ShortID |
Short ID of the control.
(Inherited from UICalendar.) | |
TimeZone |
Specifies timezone type.
|
Name | Description | |
---|---|---|
DataBind |
Binds a data source to calendar control and its child controls.
(Overrides ControlDataBind.) | |
LoadData |
Prepares event data to hashtable to speed up rendering of calendar cells (days).
| |
ManageDayNumber |
Hides day number in calendar cell if required.
| |
OnDayRender |
Renders particular day.
(Overrides CalendarOnDayRender(TableCell, CalendarDay).) | |
OnInit |
Initializes the control.
(Overrides UICalendarOnInit(EventArgs).) | |
OnVisibleMonthChanged |
Handles calendar month change.
(Overrides CalendarOnVisibleMonthChanged(DateTime, DateTime).) | |
RaiseOnBeforeInit |
Raises the OnBeforeInit event.
|
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
OnBeforeInit |
On before init handler.
|