By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,009 Members | 2,859 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,009 IT Pros & Developers. It's quick & easy.

Checkboxlist control - would like vertical scroll bar

P: n/a
Hello.

What is the best way of displaying a large list of checkboxes? I
tried using a checkbox list control, but even if you set the height
property, the control shows *all* of the checkboxes, without giving
you a vertical scroll bar so that you can scroll up and down inside a
smaller, more manageable container.

The only way I can think of is using a treeview control. Is this my
only option?

Thank you.

-Frameworker.
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Just place your controls within the diiv tag to get a scrollbar.

<DIV style="OVERFLOW-Y:scroll; WIDTH:760px; HEIGHT:570px">
</DIV>

Also check out
http://www.dotnetjohn.com/articles/articleid98.aspx

Thanks,
Jagan Mohan

"Framework fan" <te**************@hotmail.com> wrote in message
news:f1**************************@posting.google.c om...
Hello.

What is the best way of displaying a large list of checkboxes? I
tried using a checkbox list control, but even if you set the height
property, the control shows *all* of the checkboxes, without giving
you a vertical scroll bar so that you can scroll up and down inside a
smaller, more manageable container.

The only way I can think of is using a treeview control. Is this my
only option?

Thank you.

-Frameworker.

Nov 18 '05 #2

P: n/a
That's great Jagan, thanks very much!
-Frameworker.

"Jagan Mohan" <ja*********@scapevelocity.com> wrote in message news:<OI**************@TK2MSFTNGP12.phx.gbl>...
Just place your controls within the diiv tag to get a scrollbar.

<DIV style="OVERFLOW-Y:scroll; WIDTH:760px; HEIGHT:570px">
</DIV>

Also check out
http://www.dotnetjohn.com/articles/articleid98.aspx

Thanks,
Jagan Mohan

"Framework fan" <te**************@hotmail.com> wrote in message
news:f1**************************@posting.google.c om...
Hello.

What is the best way of displaying a large list of checkboxes? I
tried using a checkbox list control, but even if you set the height
property, the control shows *all* of the checkboxes, without giving
you a vertical scroll bar so that you can scroll up and down inside a
smaller, more manageable container.

The only way I can think of is using a treeview control. Is this my
only option?

Thank you.

-Frameworker.

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.