kolotan
08-24-2010, 03:48 PM
Hi all,
in my aspx page i've a checkboxlist code
<asp:CheckBoxList id="checkboxlist1"
AutoPostBack="True"
CellPadding="5"
CellSpacing="5"
RepeatColumns="2"
RepeatDirection="Vertical"
RepeatLayout="Table"
TextAlign="Right"
OnSelectedIndexChanged="Check_Clicked"
runat="server">
<asp:ListItem>Item 1</asp:ListItem>
<asp:ListItem>Item 2</asp:ListItem>
<asp:ListItem>Item 3</asp:ListItem>
<asp:ListItem>Item 4</asp:ListItem>
<asp:ListItem>Item 5</asp:ListItem>
<asp:ListItem>Item 6</asp:ListItem>
</asp:CheckBoxList>
on design page, it is shown perfectly as
[ ] item1 [ ] item4
[ ] item2 [ ] item5
[ ] item3 [ ] item6
however on runtime it is showing
[ ] [ ]
item1 item4
[ ] [ ]
item2 item5
[ ] [ ]
item3 item6
how to get my runtime page to display like design page layout???
in my aspx page i've a checkboxlist code
<asp:CheckBoxList id="checkboxlist1"
AutoPostBack="True"
CellPadding="5"
CellSpacing="5"
RepeatColumns="2"
RepeatDirection="Vertical"
RepeatLayout="Table"
TextAlign="Right"
OnSelectedIndexChanged="Check_Clicked"
runat="server">
<asp:ListItem>Item 1</asp:ListItem>
<asp:ListItem>Item 2</asp:ListItem>
<asp:ListItem>Item 3</asp:ListItem>
<asp:ListItem>Item 4</asp:ListItem>
<asp:ListItem>Item 5</asp:ListItem>
<asp:ListItem>Item 6</asp:ListItem>
</asp:CheckBoxList>
on design page, it is shown perfectly as
[ ] item1 [ ] item4
[ ] item2 [ ] item5
[ ] item3 [ ] item6
however on runtime it is showing
[ ] [ ]
item1 item4
[ ] [ ]
item2 item5
[ ] [ ]
item3 item6
how to get my runtime page to display like design page layout???