C# Class SenseNet.Portal.Portlets.Controls.EventCalendar

Inheritance: System.Web.UI.UserControl
Show file Open project: maxpavlov/FlexNet

Public Properties

Property Type Description
CalendarEvents IEnumerable

Protected Properties

Property Type Description
CalendarEventResult System.Web.UI.WebControls.ListView
MyCalendar System.Web.UI.WebControls.Calendar
lblUpcomingTitle System.Web.UI.WebControls.Label
panelUpcomings System.Web.UI.WebControls.Panel

Protected Methods

Method Description
MyCalendar_DayRender ( object sender, System.Web.UI.WebControls.DayRenderEventArgs e ) : void

Handles the DayRender event of the MyCalendar control.

OnPreRender ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.PreRender event.

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

Private Methods

Method Description
GetNumberOfParticipants ( Node item ) : int

Gets the number of participants.

IsUserAlreadySubscribed ( Node item, string &registeredItem ) : bool

Determines whether [is user already subscribed].

Method Details

MyCalendar_DayRender() protected method

Handles the DayRender event of the MyCalendar control.
protected MyCalendar_DayRender ( object sender, System.Web.UI.WebControls.DayRenderEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.DayRenderEventArgs The instance containing the event data.
return void

OnPreRender() protected method

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

Page_Load() protected method

Handles the Load event of the Page control.
protected Page_Load ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

Property Details

CalendarEventResult protected property

protected ListView,System.Web.UI.WebControls CalendarEventResult
return System.Web.UI.WebControls.ListView

CalendarEvents public property

public IEnumerable CalendarEvents
return IEnumerable

MyCalendar protected property

protected Calendar,System.Web.UI.WebControls MyCalendar
return System.Web.UI.WebControls.Calendar

lblUpcomingTitle protected property

protected Label,System.Web.UI.WebControls lblUpcomingTitle
return System.Web.UI.WebControls.Label

panelUpcomings protected property

protected Panel,System.Web.UI.WebControls panelUpcomings
return System.Web.UI.WebControls.Panel