<!DOCTYPE html>
<html>
<body>
<form runat="server">
<p>RepeatDirection is set to Vertical</p>
<asp:CheckBoxList id="lb1" runat="server">
<asp:ListItem Value="Item 1" />
<asp:ListItem Value="Item 2" />
<asp:ListItem Value="Item 3" />
<asp:ListItem Value="Item 4" />
</asp:CheckBoxList>
<p>RepeatDirection is set to Horizontal</p>
<asp:CheckBoxList id="lb2" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="Item 1" />
<asp:ListItem Value="Item 2" />
<asp:ListItem Value="Item 3" />
<asp:ListItem Value="Item 4" />
</asp:CheckBoxList></form>
</body>
</html>