C# Class EnterpriseWebLibrary.EnterpriseWebFramework.Controls.MonthViewCalendar

Provides an easy way to build a calendar where data is viewed one month at a time.
Inheritance: System.Web.UI.WebControls.WebControl, ControlTreeDataLoader
Datei anzeigen Open project: enduracode/enterprise-web-library Class Usage Examples

Private Properties

Property Type Description
ControlTreeDataLoader void
adjustDateByNumberOfIntervals System.DateTime
buildNavigationBox void
formatDateTimeForJumpList string

Public Methods

Method Description
AddContentForDay ( System.DateTime date, Control content ) : void

Specifies the content for a particular day of the month.

MonthViewCalendar ( ) : System

Initializes defaults for MonthViewCalendar attributes.

SetParameters ( System.DateTime date, Action dateModificationMethod ) : void

This method must be called in LoadData.

SetToolTipForDay ( System.DateTime date, Control toolTipContent ) : void

Provides the ability to place a tooltip for a day.

Private Methods

Method Description
ControlTreeDataLoader ( ) : void
adjustDateByNumberOfIntervals ( System.DateTime date, int i ) : System.DateTime
buildNavigationBox ( ) : void
formatDateTimeForJumpList ( System.DateTime date ) : string

Method Details

AddContentForDay() public method

Specifies the content for a particular day of the month.
public AddContentForDay ( System.DateTime date, Control content ) : void
date System.DateTime
content System.Web.UI.Control
return void

MonthViewCalendar() public method

Initializes defaults for MonthViewCalendar attributes.
public MonthViewCalendar ( ) : System
return System

SetParameters() public method

This method must be called in LoadData.
public SetParameters ( System.DateTime date, Action dateModificationMethod ) : void
date System.DateTime
dateModificationMethod Action
return void

SetToolTipForDay() public method

Provides the ability to place a tooltip for a day.
public SetToolTipForDay ( System.DateTime date, Control toolTipContent ) : void
date System.DateTime
toolTipContent System.Web.UI.Control
return void