Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

Calendar Members

Calendar overview

Public Static (Shared) Methods

DateToStringOverloaded. Converts a date value to a string value in a culture neutral manner.
LoadCalendar Loads a Calendar control from specified path.
LoadCalendarSkin Loads a Calendar skin from specified location.
StringToDate Convert a string value to a date value in a culture neutral manner.

Public Instance Constructors

Calendar Constructor Initializes a new instance of Calendar class.

Public Instance Properties

AbbreviatedDayNames Specifies an array of strings containing the culture-specific abbreviated names of the days in a week, started from Sunday.
AbbreviatedMonthNames Specifies an array of strings containing the culture-specific abbreviated names of the months, started from January.
AccessKey (inherited from WebControl)Gets or sets the access key that allows you to quickly navigate to the Web server control.
AllowMultiSelect Gets or sets a boolean value to allow multiple selection on client side.
AppRelativeTemplateSourceDirectory (inherited from Control)Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
Attributes (inherited from WebControl)Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
AutoPostbackOnScroll Specifies if Calendar should raise postback Scroll event to server when Calendar switches current month.
AutoPostbackOnSelect Specifies if Calendar should raise postback SelectionChanged event to server when a day is selected.
BorderImages (inherited from WebControl) Provides a list of images used to create customized borders for the control.
CalendarStyle Gets or sets the style properties for the Calendar control.
ClientID (inherited from Control)Gets the server control identifier generated by ASP.NET.
ClientSideOnChange Specifies the name of client side JavaScript function which is called when current selected date changes.
ClientSideOnError (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when an error occurs on client side.
ClientSideOnEvalVar (inherited from WebControl) Specifies the name of client side JavaScript function which is called when a variable needs to be evaluated in a client template.
ClientSideOnLoad (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when the control is loaded on the client side.
ClientSideOnMessage (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when the control displays a message.
ClientSideOnScroll Specifies the name of client side JavaScript function which is called when calendar switches to another month.
ClientSideOnSelect Specifies the name of client side JavaScript function which is called when end user selects a day by clicking on the day cell in browser.
ClientSideOnUnload (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when the control is unloaded on the client side.
Controls (inherited from Control)Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
ControlSkinID (inherited from WebControl) Specifies the ID of the skin used by this control.
ControlStyle (inherited from WebControl)Gets the style of the Web server control. This property is used primarily by control developers.
ControlStyleCreated (inherited from WebControl)Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers.
CssBlock (inherited from WebControl) Specifies the CSS style definition used by this control.
CssFile (inherited from WebControl) Specifies the path of an external CSS file that provides CSS styles used by this control.
DayCellHeight Specifies the height (in pixel) of a day cell.
DayCellSpacing Specifies the space (in pixel) between each day cell. This property is ignored if GridLineVisible property is true.
DayCellWidth Specifies the width (in pixel) of a day cell.
DayHeaderFormat Specifies which format of day name to display in day header area.
DayHeaderStyle Specifies the appearance setting for day header area.
DayHeaderVisible Use this property to specify if day header area is visible for each month.
DayHoverStyle Specifies the appearance setting of a day cell when mouse is positioned over it.
DayNames Specifies an array of strings containing the culture-specific full names of the days of the week, started from Sunday.
DayStyle Specifies the appearance settings for a day cell.
DesignOptions (inherited from WebControl) Contains options used for design time preview.
DisabledDates Gets or sets a collection of dates to which DisabledDayStyle will be applied.
DisabledDayStyle Specifies the appearance setting of day cells that belong to DisabledDates.
DisableWeekendDays Gets or sets a boolean value to enable/disable weekend day cells.
Enabled (inherited from WebControl)Gets or sets a value indicating whether the Web server control is enabled.
EnableKeyboardNavigation (inherited from WebControl) Gets or sets a value indicating whether keyboard navigation should be enabled.
EnableOtherMonthDays Gets or sets a boolean value to enable/disable day cells that do not belong to the current month.
EnableTheming (inherited from WebControl)Gets or sets a value indicating whether themes apply to this control.
EnableViewState (inherited from Control)Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
FirstDayOfWeek Specifies which day in a week should be displayed as the first day of the week.
FirstMonth FirstMonth and LastMonth define the visible date range for the calendar. The calendar does not display dates beyond the specified range.
FooterTemplate Specifies any customized HTML to be displayed in a calendar's footer area.
ForceSSL (inherited from WebControl) Gets or sets a value indicating whether the server should work as if it were always running on a secure server (https).
GridLineColor Specifies the color of grid lines that separate each day cell in a month.
GridLineFrameVisible When GridLineVisible is true, use this property to show/hide the frame of grid lines for each month.
GridLineVisible Specifies if grid lines that separate each day cell in a month is visible.
HasAttributes (inherited from WebControl)Gets a value indicating whether the control has attributes set.
ID (inherited from Control)Gets or sets the programmatic identifier assigned to the server control.
ImageBaseDirectory (inherited from WebControl) Gets or sets the folder that contains images for the control.
LastMonth FirstMonth and LastMonth define the visible date range for the calendar. The calendar does not display dates beyond the specified range.
MaxValidDate MinValidDate and MaxValidDate define the valid range for the calendar. Days that are out of this range will apply OutOfRangeDayStyle or DisabledDayStyle.
MinValidDate MinValidDate and MaxValidDate define the valid range for the calendar. Days that are out of this range will apply OutOfRangeDayStyle or DisabledDayStyle.
MonthColumns Specifies number of month columns displayed in the Calendar.
MonthGridLineColor When MonthGridLineVisible property is true, use this property to specify the color of grid line.
MonthGridLineFrameVisible When MonthGridLineVisible property is true, use this property to show/hide the frame of grid lines.
MonthGridLineVisible Use this property to show/hide the grid lines that separate month cell in a multi-month calendar.
MonthNames Specifies an array of strings containing the culture-specific names of the months, started from January.
MonthRows Specifies the number of month rows displayed in the Calendar.
MonthSelectorHtml Specifies the html to display for the month selector.
MonthSelectorImageHeight Specifies the height (in pixel) of the month selector image which is specified by MonthSelectorImageUrl.
MonthSelectorImageUrl Specifies the url of the month selector image.
MonthSelectorImageWidth Specifies the width (in pixel) of the month selector image which is specified by MonthSelectorImageUrl.
MonthSelectorStyle Specifies the appearance style of the month selector.
MonthSelectorVisible Specifies if month selector is visible. Month selector is used to select the whole month.
MonthStyle Specifies appearance style for area that displays month.
MonthTitleStyle Specifies the appearance settings for month title area. Applies to Calendar with multiple month
MonthTitleVisible When a Calendar displayes multiple months in one page, use this property to specify if month title area is visible for each month.
MultiSelectModifier Gets or sets the modifier key for selecting multiple dates in the Calendar.
NamingContainer (inherited from Control)Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value.
OtherMonthDayStyle When OtherMonthDayVisible is true, use this property to specify the appearance for day cells that do not belong to current month.
OtherMonthDayVisible Gets or sets a boolean value to show/hide day cells that do not belong to current month.
OutOfRangeDayStyle Specifies the appearance setting for day cells which dates are either before MinValidDate or after MaxValidDate.
Parent (inherited from Control)Gets a reference to the server control's parent control in the page control hierarchy.
RightToLeft (inherited from WebControl) Gets or sets a value indicating whether the control should renders as right to left.
SelectedDate Gets or sets a date to which SelectedDayStyle will be applied.
SelectedDates Gets or sets a collection of dates to which SelectedDayStyle will be applied.
SelectedDateString Gets or sets a date in as a string rather as a DateTime.
SelectedDayStyle Specifies the appearance setting of day cells that belong to SelectedDates.
Shortcut (inherited from WebControl) Get a Shortcut object through which you can get or set the keyboard short cut for this control.
Site (inherited from Control)Gets information about the container that hosts the current control when rendered on a design surface.
SkinID (inherited from WebControl)Gets or sets the skin to apply to the control.
Style (inherited from WebControl)Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control.
SwapDuration Defines the duration (in milliseconds) when calender switches one month to another month.
SwapStyle Specifies the style when calender switches one month to another month.
TabIndex (inherited from WebControl)Gets or sets the tab index of the Web server control.
TemplateControl (inherited from Control)Gets or sets a reference to the template that contains this control.
TemplateSourceDirectory (inherited from Control)Gets the virtual directory of the Page or UserControl that contains the current server control.
TitleArrowDownStyle Specifies the style of "next" and "previous" arrows displayed on title area when mouse button is pressed down on the arrows.
TitleArrowHoverStyle Specifies the style of "next" and "previous" arrows displayed on title area when mouse positions over the arrows.
TitleArrowImageHeight Specifies the height (in pixel) for "next" and "previous" arrows displayed on title area.
TitleArrowImageWidth Specifies the width (in pixel) for "next" and "previous" arrows displayed on title area.
TitleArrowStyle Specifies the style of "next" and "previous" arrows displayed on title area.
TitleFormat Gets or sets the string to specify date format to display for the title section.
TitleLeftArrowDownImageUrl Specifies the URL string that points to the arrow image displayed on the left side of the title heading area when the mouse is pressed down.
TitleLeftArrowHoverImageUrl Specifies the URL string that points to the arrow image displayed on the left side of the title heading area when the mouse is positioned over the left arrow.
TitleLeftArrowHtml Specifies the text displayed as the left arrow on the left side of the title heading area. By default, << is used.
TitleLeftArrowImageUrl Specifies the URL string that points to the arrow image displayed on the left side of the title heading area.
TitleRangeSeparator Specifies the string used to separate the currently displaying month range for the title area.
TitleRightArrowDownImageUrl Specifies the URL string that points to the arrow image displayed on the right side of the title heading area when mouse is pressed down.
TitleRightArrowHoverImageUrl Specifies the URL string that points to the arrow image displayed on the right side of the title heading area when mouse is pressed down.
TitleRightArrowHtml Specifies the text displayed as the left arrow on the right side of the title heading area. By default, >> is used.
TitleRightArrowImageUrl Specifies the URL string that points to the arrow image displayed on the right side of the title heading area.
TitleStyle Gets or sets style properties of title area for a Calendar control.
TitleTemplate Specifies any customized HTML to be displayed in a calendar's title area.
TitleTemplateScope Specifies whether TitleTemplate is applied for the whole title area or the title text only.
TitleVisible Gets or sets whether the title section of the Calendar control is visible.
TodayHoverStyle Specifies the appearance setting of the day cell that represents today when mouse is positioned over it.
TodayStyle Specifies the appearance setting of the day cell that represents today.
ToolTip (inherited from WebControl)Gets or sets the text displayed when the mouse pointer hovers over the Web server control.
UniqueID (inherited from Control)Gets the unique, hierarchically qualified identifier for the server control.
Visible (inherited from Control)Gets or sets a value that indicates whether a server control is rendered as UI on the page.
VisibleDate Gets or sets the date that specifies the first month to display in a Calendar control.
WaitMessage Gets or sets the message to be displayed while the calendar calls server side DayRender event handler.
WeekendDayHoverStyle Specifies the appearance setting of weekend day cells when mouse is positioned over it.
WeekendDayStyle Specifies the appearance setting of weekend day cells.
WeekNumberBase Specifies whether the Calendar/DatePicker should display week number based on month or year.
WeekSelectorHtml Specifies the html to display for the week selector.
WeekSelectorImageHeight Specifies the height (in pixel) for the week selector image specified by WeekSelectorImageUrl property.
WeekSelectorImageUrl Specifies the url of the week selector image.
WeekSelectorImageWidth Specifies the width (in pixel) for the week selector image specified by WeekSelectorImageUrl property.
WeekSelectorStyle Specifies the appearance setting of week selector.
WeekSelectorVisible Specifies if week selector is visible. Week selector is used to select the whole week.

Public Instance Methods

ApplyStyle (inherited from WebControl)Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers.
ApplyStyleSheetSkin (inherited from Control)Applies the style properties defined in the page style sheet to the control.
CopyBaseAttributes (inherited from WebControl)Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers.
DataBind (inherited from Control)Overloaded. Binds a data source to the invoked server control and all its child controls.
Dispose (inherited from Control)Enables a server control to perform final clean up before it is released from memory.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindControl (inherited from Control)Overloaded. Searches the current naming container for a server control with the specified id parameter.
Focus (inherited from Control)Sets input focus to a control.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
HasControls (inherited from Control)Determines if the server control contains any child controls.
MergeStyle (inherited from WebControl)Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers.
RenderBeginTag (inherited from WebControl)Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.
RenderControl (inherited from Control)Overloaded. Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
RenderEndTag (inherited from WebControl)Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.
ResolveClientUrl (inherited from Control)Gets a URL that can be used by the browser.
ResolveUrl (inherited from Control)Converts a URL into one that is usable on the requesting client.
SetRenderMethodDelegate (inherited from Control)Assigns an event handler delegate to render the server control and its content into its parent control.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

DataBinding (inherited from Control)Occurs when the server control binds to a data source.
DayRender Occurs when day cell is rendered.
Disposed (inherited from Control)Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
Init (inherited from Control)Occurs when the server control is initialized, which is the first step in its lifecycle.
Load (inherited from Control)Occurs when the server control is loaded into the Page object.
PreRender (inherited from Control)Occurs after the Control object is loaded but prior to rendering.
Scroll Occurs when visible month is changed.
SelectionChanged Occurs when SelectedDates property is changed.
Unload (inherited from Control)Occurs when the server control is unloaded from memory.

Protected Instance Properties

Adapter (inherited from Control)Gets the browser-specific adapter for the control.
ChildControlsCreated (inherited from Control)Gets a value that indicates whether the server control's child controls have been created.
ClientIDSeparator (inherited from Control)Gets a character value representing the separator character used in the ClientID property.
Events (inherited from Control)Gets a list of event handler delegates for the control. This property is read-only.
HasChildViewState (inherited from Control)Gets a value indicating whether the current server control's child controls have any saved view-state settings.
IdSeparator (inherited from Control)Gets the character used to separate control identifiers.
IsTrackingViewState (inherited from Control)Gets a value that indicates whether the server control is saving changes to its view state.
LoadViewStateByID (inherited from Control)Gets a value indicating whether the control participates in loading its view state by ID instead of index.
TagKey (inherited from WebControl)Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers.
TagName (inherited from WebControl)Gets the name of the control tag. This property is used primarily by control developers.
ViewState (inherited from Control)Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page.
ViewStateIgnoresCase (inherited from Control)Gets a value that indicates whether the StateBag object is case-insensitive.

Protected Instance Methods

AddAttributesToRender (inherited from WebControl)Adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriterTag. This method is used primarily by control developers.
AddParsedSubObject (inherited from Control)Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.
BuildProfileTree (inherited from Control)Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.
ClearChildControlState (inherited from Control)Deletes the control-state information for the server control's child controls.
ClearChildState (inherited from Control)Deletes the view-state and control-state information for all the server control's child controls.
ClearChildViewState (inherited from Control)Deletes the view-state information for all the server control's child controls.
CreateControlCollection (inherited from Control)Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.
CreateControlStyle (inherited from WebControl)Creates the style object that is used internally by the WebControl class to implement all style related properties. This method is used primarily by control developers.
DataBind (inherited from Control)Overloaded. Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event.
DataBindChildren (inherited from Control)Binds a data source to the server control's child controls.
EnsureChildControls (inherited from Control)Determines whether the server control contains child controls. If it does not, it creates child controls.
EnsureID (inherited from Control)Creates an identifier for controls that do not have an identifier assigned.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindControl (inherited from Control)Overloaded. Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the FindControl method.
GetDesignModeState (inherited from Control)Gets design-time data for a control.
HasEvents (inherited from Control)Returns a value indicating whether events are registered for the control or any child controls.
IsLiteralContent (inherited from Control)Determines if the server control holds only literal content.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnBubbleEvent (inherited from Control)Determines whether the event for the server control is passed up the page's UI server control hierarchy.
OnDataBinding (inherited from Control)Raises the DataBinding event.
RaiseBubbleEvent (inherited from Control)Assigns any sources of the event and its information to the control's parent.
RenderControl (inherited from Control)Overloaded. Outputs server control content to a provided HtmlTextWriter object using a provided ControlAdapter object.
ResolveAdapter (inherited from Control)Gets the control adapter responsible for rendering the specified control.
SetDesignModeState (inherited from Control)Sets design-time data for a control.

Protected Internal Instance Properties

Context (inherited from Control)Gets the HttpContext object associated with the server control for the current Web request.
DesignMode (inherited from Control)Gets a value indicating whether a control is being used on a design surface.
IsChildControlStateCleared (inherited from Control)Gets a value indicating whether controls contained within this control have control state.
IsEnabled (inherited from WebControl)Gets a value indicating whether the control is enabled.
IsViewStateEnabled (inherited from Control)Gets a value indicating whether view state is enabled for this control.

Protected Internal Instance Methods

AddedControl (inherited from Control)Called after a child control is added to the Controls collection of the Control object.
CreateChildControls (inherited from Control)Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
LoadControlState (inherited from Control)Restores control-state information from a previous page request that was saved by the SaveControlState method.
MapPathSecure (inherited from Control)Retrieves the physical path that a virtual path, either absolute or relative, maps to.
OnUnload (inherited from Control)Raises the Unload event.
OpenFile (inherited from Control)Gets a Stream used to read a file.
RemovedControl (inherited from Control)Called after a child control is removed from the Controls collection of the Control object.
RenderChildren (inherited from Control)Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
RenderContents (inherited from WebControl)Renders the contents of the control to the specified writer. This method is used primarily by control developers.
SaveControlState (inherited from Control)Saves any server control state changes that have occurred since the time the page was posted back to the server.

See Also

Calendar Class | EO.Web Namespace


Direct link to this topic