Sometimes we require a list of checkbox. How can we achieve this in asp.net
1. Add div on your asp.net page. Set some height and width to div so it will be fixed in height and width and will look appropriately on the web page.
Set overflow:auto so if your list is increasing it will give you scrollbar.
This way you can get a checkboxlist effect.
Happy Coding!!
1. Add div on your asp.net page. Set some height and width to div so it will be fixed in height and width and will look appropriately on the web page.
Set overflow:auto so if your list is increasing it will give you scrollbar.
< div style="BORDER: thin solid; OVERFLOW: auto; WIDTH: 100px; HEIGHT: 100px">2. Insert CheckBoxList control inside div.
< /div>
< div style="BORDER: thin solid; OVERFLOW: auto; WIDTH: 100px; HEIGHT: 100px">
< asp:checkboxlist id="CheckBoxList1" runat="server">
</div>
Happy Coding!!
No comments:
Post a Comment