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

<!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>Kontrolka Table</title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
      <h1>Kontrolka Table</h1>
      <table>
         <tr>
            <td>
               <strong>Zaznacz styl czcionki:</strong>
            </td>
            <td>
               <asp:CheckBoxList ID="cblFontStyle" runat="server"
                  AutoPostBack="True"
                  CellPadding="5"
                  CellSpacing="10"
                  RepeatColumns="3"
                  OnInit="cblFontStyle_Init">
               </asp:CheckBoxList>
            </td>
         </tr>
         <tr>
            <td>
               <strong>Zaznacz rozmiar czcionki:</strong>
            </td>
            <td>
               <asp:RadioButtonList ID="rblSize" runat="server"
                     AutoPostBack="True"
                     CellSpacing="20"
                     RepeatColumns="3"
                     RepeatDirection="Horizontal">
                  <asp:ListItem text="10pt" value="10"/>
                  <asp:ListItem text="12pt" value="12" selected = "true"/>
                  <asp:ListItem text="14pt" value="14"/>
                  <asp:ListItem text="16pt" value="16"/>
                  <asp:ListItem text="18pt" value="18"/>
                  <asp:ListItem text="24pt" value="24"/>
               </asp:RadioButtonList>
            </td>
         </tr>
      </table>

      <asp:Table ID="tbl" runat="server"
            BackImageUrl="Sunflower Bkgrd.jpg"
            Font-Names="Times New Roman"
            Font-Size="12"
            GridLines="Both"
            CellPadding="10"
            CellSpacing="5"
            HorizontalAlign="Left"
            Width="100%">
         <asp:TableHeaderRow HorizontalAlign="Left">
            <asp:TableHeaderCell>Rodzina czcionki</asp:TableHeaderCell>
            <asp:TableHeaderCell Width="80%">Przykadowy tekst</asp:TableHeaderCell>
         </asp:TableHeaderRow>
      </asp:Table>

   </div>
   </form>
</body>
</html>
