I see the CheckBoxList control but I want it to behave more like a list box.
ie I want it to only show a limited number of items and then allow scrolling.
Is this possible?
> How would I create a list control containing checkboxes in ASP.Net
> TIA
Chris Glenn - 06 Mar 2005 19:19 GMT
Wrap a div tag around it to create the scroll effect.
<div style="overflow: auto; width: 100; height: 100; clip: auto;
scrolling:auto;">
<asp:CheckBocList Id="CbLsList" Runat="Server"/>
</div>
> I see the CheckBoxList control but I want it to behave more like a list box.
> ie I want it to only show a limited number of items and then allow scrolling.
> Is this possible?
>
> > How would I create a list control containing checkboxes in ASP.Net
> > TIA