I want to use a CheckBoxList control that outputs HTML using
<UL> <LI><INPUT CHECKBOX></LI> <LI>etc</LI> </UL>
For markup.
However, if I try the following:
<asp:CheckBoxList ID="lstShipsInScope" runat="server" DataSourceID="ShipsInScope" DataTextField="Ship_Name" DataValueField="Ship_Id" ondatabound="lstShipsInScope_DataBound" AutoPostBack="True" RepeatLayout="unorderedlist" RepeatDirection="horizontal"> </asp:CheckBoxList>
I get:
Parser Error Message: Cannot create an object of type 'System.Web.UI.WebControls.RepeatLayout' from its string representation 'unorderedlist' for the 'RepeatLayout' property.
It seems silly, given that an unorderedlist is suggested as a value for the RepeatLayout attribute. Flow works, which puts them all in between, and also makes a table, but I want to use an unordered list and the style itself.
source share