C# Class Subtext.Web.UI.Controls.Calendar

Summary description for Calendar.
Inheritance: BaseControl
Afficher le fichier Open project: ayende/Subtext

Protected Properties

Свойство Type Description
_isUrlMonthMode bool
entryCal System.Web.UI.WebControls.Calendar

Méthodes protégées

Méthode Description
OnLoad ( EventArgs e ) : void

If the page is on a "day page" then have the calendar select the day the URL is on. Otherwise use the current day.

entryCal_DayRender ( object sender, System e ) : void

As each day is rendered in the calendar, put a link if an entry exists for that day.

entryCal_VisibleMonthChanged ( object sender, System e ) : void

Occurs when the user clicks on the next or previous month navigation controls on the title heading.

Private Methods

Méthode Description
ChooseSelectedDateFromUrl ( ) : System.DateTime

Chooses the selected date from the url.

IsSameDay ( System.DateTime date1, System.DateTime date2 ) : bool

Returns true if the two dates fall on the same day.

LoadMonthData ( ) : void

Load all entries for the selected month.

TryParseDateTime ( string dateString, System.DateTime &parsedDate ) : bool

Attemps to parse the specified string as a DateTime.

Method Details

OnLoad() protected méthode

If the page is on a "day page" then have the calendar select the day the URL is on. Otherwise use the current day.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

entryCal_DayRender() protected méthode

As each day is rendered in the calendar, put a link if an entry exists for that day.
protected entryCal_DayRender ( object sender, System e ) : void
sender object
e System
Résultat void

entryCal_VisibleMonthChanged() protected méthode

Occurs when the user clicks on the next or previous month navigation controls on the title heading.
protected entryCal_VisibleMonthChanged ( object sender, System e ) : void
sender object
e System
Résultat void

Property Details

_isUrlMonthMode protected_oe property

protected bool _isUrlMonthMode
Résultat bool

entryCal protected_oe property

protected System.Web.UI.WebControls.Calendar entryCal
Résultat System.Web.UI.WebControls.Calendar