MindFusion.UI for WebForms Programmer's Guide

Calendar Members

Constructors Properties Methods Events
 


Represents a light-weight calendar control.

The following tables list the members exposed by the Calendar type.

 Public Constructors

  Name Description

Calendar

Initializes a new instance of the Calendar class.

 Public Properties

  Name Description

AutoPostBack

Gets or sets a value indicating whether the control will post back to the server when the selection has changed.

CalendarStyle

Gets or sets the style of this Calendar.

ContentCssClass

Gets or sets the default CSS class for the content element.

ControlLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the control is loaded.

Culture

Gets or sets the culture of the control.

Date

Gets or sets the currently displayed date.

DateChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the control's date has changed.

DateClickScript

Gets or sets the name of a JavaScript function that should be invoked when a date cell is clicked.

DateCssClass

Gets or sets the default CSS class for date cells.

FooterCssClass

Gets or sets the default CSS class for the footer element.

HeaderCssClass

Gets or sets the default CSS class for the header element.

Height

WebControl.Height override.

PaddingDateCssClass

Gets or sets the default CSS class for padding date cells.

SelectedDateCssClass

Gets or sets the default CSS class for selected date cells.

Selection

Gets a list with the dates that represent the current selection in the calendar.

SelectionChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the selection changes.

SelectionChangingScript

Gets or sets the name of a JavaScript function that should be invoked when the selection is about to be changed.

SelectionMode

Gets or sets the mode of the interactive selection in the calendar.

Theme

Gets or sets the theme applied to the control.

Width

WebControl.Width override.

 Public Methods

  Name Description

LoadFromXml

Overloaded. Loads control data from an XML file or from a System.Xml.XmlDocument.

LoadPostData

When implemented by a derived class, processes postback data for an ASP.NET server control.

RaisePostDataChangedEvent

When implemented by a derived class in the server control notifies the ASP.NET application that the state of the control has changed.

SaveToXml

Overloaded. Saves control data to an XML file or to a System.Xml.XmlDocument.

 Protected Methods

  Name Description

OnBeginLoad

Raises the BeginLoad event.

OnDateChanged

Raises the DateChanged event.

OnEndLoad

Raises the EndLoad event.

OnPreRender

Control.OnPreRender override.

OnSelectionChanged

Raises the SelectionChanged event.

Render

Control.Render override.

RenderContents

WebControl.RenderContents override.

 Public Events

  Name Description

BeginLoad

Raised when the component starts loading data from a file or memory stream.

DateChanged

Raised when the date changes.

EndLoad

Raised when the component ends loading data from a file or memory stream.

SelectionChanged

Raised when the selection changes.

 See Also