<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckBoxList-ArrayItems.aspx.cs"
    Inherits="CheckBoxList_ArrayItems" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Kontrolka CheckBoxList - pobieranie elementów z tablicy</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:CheckBoxList ID="cblItems" runat="server" RepeatDirection="Horizontal" RepeatColumns="2"
            RepeatLayout="Flow" OnInit="cblItems_Init">
            <asp:ListItem>Element 1</asp:ListItem>
            <asp:ListItem>Element 2</asp:ListItem>
            <asp:ListItem>Element 3</asp:ListItem>
            <asp:ListItem>Element 4</asp:ListItem>
            <asp:ListItem>Element 5</asp:ListItem>
            <asp:ListItem>Element 6</asp:ListItem>
        </asp:CheckBoxList>
    </div>
    </form>
</body>
</html>
