Displays a template based calendar where the calendar events are pages in EPiServer.

Namespace:  EPiServer.Web.WebControls
Assembly:  EPiServer.Web.WebControls (in EPiServer.Web.WebControls.dll) Version: 6.0.530.0

Syntax

C#
public class Calendar : PageControlBase, INamingContainer

Remarks

Pages that will serve as events must at least have properties "EventStartDate" and "EventStopDate"

Examples

Example usage of Calendar.
Copy 
<episerver:calendar pagelinkproperty="CalendarContainer" runat="server" id="Calendar1"> 
    <DayPrefixTemplate> 
        <%#Container.DayName%>, <%#Container.DayOfMonth%> <%#Container.MonthName%>
    </DayPrefixTemplate> 
    <EventTemplate> 
        <episerver:property PropertyName="PageLink" runat="server"/>
    </EventTemplate> 
</episerver:calendar>

Inheritance Hierarchy

System..::.Object
  System.Web.UI..::.Control
    EPiServer.Web.WebControls..::.PageControlBase
      EPiServer.Web.WebControls..::.Calendar

See Also