<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CalenderRender.aspx.cs" Inherits="CalenderRender" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Generowanie dni kalendarza</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h1>Zastosowanie DayRender</h1>
    <asp:Calendar ID="calRender" runat="server" BackColor="White" BorderColor="Black" 
        BorderStyle="Solid" CellSpacing="1" Font-Names="Verdana" Font-Size="9pt" 
        ForeColor="Black" Height="504px" NextPrevFormat="ShortMonth" Width="664px" 
        OnDayRender="calRender_DayRender" 
        OnSelectionChanged="calRender_SelectionChanged"  >
        
        <SelectedDayStyle BackColor="#333399" ForeColor="White" />
        <OtherMonthDayStyle ForeColor="#999999" />
        <DayStyle BackColor="#CCCCCC" />
        <TodayDayStyle BackColor="#999999" ForeColor="White" />
        <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="White" />
        <DayHeaderStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" Height="8pt" />
        <TitleStyle BackColor="#333399" BorderStyle="Solid" Font-Bold="True" Font-Size="9pt"
            ForeColor="White" Height="9pt" />
            
    </asp:Calendar>
    <p>
    <asp:Label ID="labMessage" runat="server" />
    </p>
    </div>
    </form>
</body>
</html>
