CMSCalendar Class |
Namespace: CMS.Controls
[SerializableAttribute] public class CMSCalendar : BasicCalendar, ICMSControlProperties, ICMSBaseProperties
The CMSCalendar type exposes the following members.
Name | Description | |
---|---|---|
CMSCalendar |
Constructor.
|
Name | Description | |
---|---|---|
ClearCache |
Clears the cached items.
| |
CreateChildControls |
Renders the control at run-time.
(Overrides ControlCreateChildControls.) | |
DataBind |
Binds a data source to calendar control and its child controls.
(Inherited from BasicCalendar.) | |
GetCacheDependency |
Gets the cache dependency for the control.
| |
GetDataSet |
Retrieves DataSet.
| |
GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
| |
LoadData |
Prepares event data to hashtable to speed up rendering of calendar cells (days).
(Inherited from BasicCalendar.) | |
ManageDayNumber |
Hides day number in calendar cell if required.
(Inherited from BasicCalendar.) | |
OnDayRender |
Renders particular day.
(Inherited from BasicCalendar.) | |
OnInit |
OnInit Handler.
(Overrides BasicCalendarOnInit(EventArgs).) | |
OnLoad |
OnLoad.
(Overrides ControlOnLoad(EventArgs).) | |
OnVisibleMonthChanged |
Handles calendar month change.
(Inherited from BasicCalendar.) | |
RaiseOnBeforeInit |
Raises the OnBeforeInit event.
(Inherited from BasicCalendar.) | |
ReleaseContext |
Releases the web part context.
| |
ReloadData |
Reload control data.
| |
Render |
Renders the control.
(Overrides CalendarRender(HtmlTextWriter).) | |
SetContext |
Sets the web part context.
|
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.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
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 CoreExtensions.) | |
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.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
mDataLoaded |
Indicates whether data should be loaded.
| |
mFilterControl |
Filter control.
| |
mFilterName |
Filter name.
| |
mMonthEvents |
Hashtable with events for current month (key - DateTime, value - DataTable with events).
(Inherited from BasicCalendar.) | |
mOnBeforeInitFired |
True if the on before init was fired.
(Inherited from BasicCalendar.) | |
mProperties |
Control properties variable.
| |
mRelatedData |
Custom data connected to the object.
(Inherited from BasicCalendar.) | |
mRelatedDataLoaded |
Related data is loaded.
(Inherited from BasicCalendar.) |
Name | Description | |
---|---|---|
CacheDependencies |
Cache dependencies, each cache dependency on a new line.
| |
CacheItemName |
Name of the cache item the control will use.
| |
CacheMinutes |
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
| |
CategoryName |
Property to set and get the category name for filtering documents.
| |
ClassNames |
Property to set and get the classnames list (separated by the semicolon).
| |
Columns |
Gets or sets the columns to be retrieved from database.
| |
CombineWithDefaultCulture |
Property to set and get the CombineWithDefaultCulture flag.
| |
ControlContext |
Control context.
| |
CultureCode |
Property to set and get the CultureCode.
| |
CustomTimeZone |
Custom TimeZoneInfo object.
(Inherited from BasicCalendar.) | |
DataMember |
Name of the table when DataSet is used as a DataSource.
(Inherited from BasicCalendar.) | |
DataSource |
Gets or sets a DataSet containing values used to populate the items within the control. This value needn't be set.
| |
DayField |
Name of the field in the DataSource that contains the datetime value.
(Inherited from BasicCalendar.) | |
DayWithEventsStyle |
Style of the day with an event.
(Inherited from BasicCalendar.) | |
DayWithOutEventsStyle |
Style of the day without an event.
(Inherited from BasicCalendar.) | |
DisplayOnlySingleDayItem |
Indicates whether the only one item is displayed in the day.
(Inherited from BasicCalendar.) | |
EventEndField |
Name of the field in the DataSource that contains the datetime value of event end date.
(Inherited from BasicCalendar.) | |
FilterControl |
Filter control.
| |
FilterName |
Gets or Set filter name.
| |
HideDefaultDayNumber |
Indicates whether the day number is displayed or cell is full filled by the transformation
Current day is saved in the "__day" column
(Inherited from BasicCalendar.) | |
CheckPermissions |
Allows you to specify whether to check permissions of the current user. If the value is 'false' (default value) no permissions are checked. Otherwise, only nodes for which the user has read permission are displayed.
| |
ItemTemplate |
Template for displaying a day with event.
(Inherited from BasicCalendar.) | |
MaxRelativeLevel |
Property to set and get the MaxRelativeLevel.
| |
NoEventsTemplate |
Template for displaying a day without any event.
(Inherited from BasicCalendar.) | |
NoEventTransformationName |
No event transformation name in format application.class.transformation.
| |
OrderBy |
Property to set and get the OrderBy.
| |
Path |
Property to set and get the Path.
| |
RelatedData |
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
(Inherited from BasicCalendar.) | |
RelatedNodeIsOnTheLeftSide |
If true, the returned nodes are on the right side of the relationship.
| |
RelationshipName |
Name of the relationship.
| |
RelationshipWithNodeGuid |
Select nodes with given relationship with given node.
| |
ResolveDynamicControls |
Gets or sets the value that indicates whether dynamic controls should be resolved
(Inherited from BasicCalendar.) | |
SelectedColumns |
Gets or sets the columns to be retrieved from database.
| |
SelectedItemID |
ID of selected item displayed in the calendar.
(Inherited from BasicCalendar.) | |
SelectedItemIDColumn |
ID column name of selected item displayed in the calendar.
(Inherited from BasicCalendar.) | |
SelectOnlyPublished |
Property to set and get the SelectOnlyPublished flag.
| |
ShortID |
Short ID of the control.
(Inherited from UICalendar.) | |
SiteName |
Property to set and get the SiteName.
| |
StopProcessing |
Stop processing
| |
TagKey |
Overrides the generation of the SPAN tag with custom tag.
(Overrides WebControlTagKey.) | |
TimeZone |
Specifies timezone type.
(Inherited from BasicCalendar.) | |
TopN |
Select top N rows.
| |
TransformationName |
Transformation name in format application.class.transformation.
| |
TreeProvider |
Tree provider instance used to access data. If no TreeProvider is assigned, a new TreeProvider instance is created.
| |
WhereCondition |
Property to set and get the WhereCondition.
|
Name | Description | |
---|---|---|
OnBeforeInit |
On before init handler.
(Inherited from BasicCalendar.) |