Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Checkboxlist control - would like vertical scroll bar

Reply
Thread Tools

Checkboxlist control - would like vertical scroll bar

 
 
Framework fan
Guest
Posts: n/a
 
      11-30-2003
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.
 
Reply With Quote
 
 
 
 
Jagan Mohan
Guest
Posts: n/a
 
      12-01-2003
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" <> wrote in message
news: 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.



 
Reply With Quote
 
 
 
 
Framework fan
Guest
Posts: n/a
 
      12-02-2003
That's great Jagan, thanks very much!
-Frameworker.

"Jagan Mohan" <> wrote in message news:<OIwx#>...
> 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" <> wrote in message
> news: 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vertical Scroll Bar with CheckBoxList in ASP.NET bienwell ASP .Net 8 12-07-2011 07:08 AM
How to add a vertical scroll bar to a CheckBoxList Server control in ASP.NET Marshal Antony ASP .Net Web Controls 1 12-31-2003 12:07 AM
how to add a Scroll Bar in CheckBoxList control in ASP.NET Marshal Antony ASP .Net 4 12-30-2003 11:45 PM
Can the DIV tag be STYLEd with only a vertical scroll bar? Guy HTML 1 12-13-2003 04:48 AM
How to set up a vertical scroll bar for my datagrid control? Mircea Pleteriu ASP .Net Datagrid Control 4 07-17-2003 06:20 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57