Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > How to add a vertical scroll bar to a CheckBoxList Server control in ASP.NET

Reply
Thread Tools

How to add a vertical scroll bar to a CheckBoxList Server control in ASP.NET

 
 
Marshal Antony
Guest
Posts: n/a
 
      12-30-2003
How to add a vertical scroll bar to a CheckBoxList Server control in
ASP.NET.

Any help is appreciated.

Thanks,

Marshal Antony




 
Reply With Quote
 
 
 
 
Alessandro Zifiglio
Guest
Posts: n/a
 
      12-31-2003
hi Marshal, the CheckboxList control outputs tables. Tables dont support the
overflow CSS property. What you can do is wrap the control within div tags
and set the style of the div tags overflow property to auto like this :<div
style="overflow: auto;height:100px;width:200px;">
<asp:CheckBoxList id="CheckBoxList1" runat="server"></asp:CheckBoxList>
</div>

Now if the width of your checkboxList exceeds the height of your div, that
is 100px you get vertical scrollbars and if the width exceeds 200px you have
horizontal scrollbars.

"Marshal Antony" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How to add a vertical scroll bar to a CheckBoxList Server control in
> ASP.NET.
>
> Any help is appreciated.
>
> Thanks,
>
> Marshal Antony
>
>
>
>



 
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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
vertical Scroll Bar with CheckBoxList in ASP.NET bienwell ASP .Net 8 12-07-2011 07:08 AM
how to add a Scroll Bar in CheckBoxList control in ASP.NET Marshal Antony ASP .Net 4 12-30-2003 11:45 PM
Checkboxlist control - would like vertical scroll bar Framework fan ASP .Net 2 12-02-2003 04:09 PM
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