CheckBoxList and Scrollbars

Discussion in 'ASP .Net' started by =?Utf-8?B?TWlrZQ==?=, Nov 16, 2004.

  1. Hi,

    I have an ASP.NET page with a CheckBoxList. The HTML code is the following:

    <TABLE id="Table2" height="100%" cellSpacing="0" cellPadding="0"
    width="100%" border="0">
    <TR><TD></TD></TR>
    <TR>
    <TD height="100%"><asp:checkboxlist id="CheckBoxList1" runat="server"
    Height="100%" Width="100%" CellSpacing="1" CellPadding="1"
    BorderWidth="2px" BorderStyle="Inset"></asp:checkboxlist></TD>
    </TR>
    </TABLE>

    However, when, in the code behind, I add items in the CheckBoxList, the
    checkboxlist height is automatically increased. Instead, I would like to have
    horizontal scrollbars, so that I can define the height that I want for my
    CheckBoxList and any other control in the page.

    Any idea on how to achieve this?

    Thanks.
    Mike
     
    =?Utf-8?B?TWlrZQ==?=, Nov 16, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JD
    Replies:
    5
    Views:
    11,683
    NetArchitect
    Aug 8, 2007
  2. Blue Streak

    ASP:Panel and Scrollbars...

    Blue Streak, Mar 8, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    3,458
    Blue Streak
    Mar 8, 2005
  3. tshad

    Listbox and Scrollbars

    tshad, Jun 10, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    407
    tshad
    Jun 10, 2005
  4. Patrick.O.Ige
    Replies:
    5
    Views:
    19,129
    Patrick.O.Ige
    Jun 19, 2005
  5. Bluetears76
    Replies:
    1
    Views:
    1,029
    Larry Barowski
    Jul 1, 2004
Loading...

Share This Page