Panel with horizontal scrollbar

Discussion in 'ASP .Net' started by Marco Liedekerken, Jun 26, 2003.

  1. Hi,

    I want a Horizontal scrollbar to appear in my Panel control when I add new
    controls to it (when the width is getting too big).
    The Vertical scrollbar is easy (adding overflow: auto to the style attribute
    of the panel element).
    Now when I dynamicly add controls to the Panel control the controls are
    getting places at the next line (I did not add a <br>) instead of at the
    same line (the horizontal scrollbar should appear now).
    I looked at other postings about horizontal scrollbars but there is no place
    where there are Panel controls behaving like I would like them to.

    Can someone help me any further?

    Thanks, Marco
     
    Marco Liedekerken, Jun 26, 2003
    #1
    1. Advertising

  2. Marco Liedekerken

    Rajesh.V Guest

    try enclosing in a div tag

    "Marco Liedekerken" <> wrote in
    message news:...
    > Hi,
    >
    > I want a Horizontal scrollbar to appear in my Panel control when I add new
    > controls to it (when the width is getting too big).
    > The Vertical scrollbar is easy (adding overflow: auto to the style

    attribute
    > of the panel element).
    > Now when I dynamicly add controls to the Panel control the controls are
    > getting places at the next line (I did not add a <br>) instead of at the
    > same line (the horizontal scrollbar should appear now).
    > I looked at other postings about horizontal scrollbars but there is no

    place
    > where there are Panel controls behaving like I would like them to.
    >
    > Can someone help me any further?
    >
    > Thanks, Marco
    >
    >
     
    Rajesh.V, Jun 26, 2003
    #2
    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. Jeremy Chapman
    Replies:
    1
    Views:
    913
    szabelin
    Aug 15, 2003
  2. Lundy
    Replies:
    0
    Views:
    682
    Lundy
    Oct 6, 2004
  3. =?Utf-8?B?ZGhucml2ZXJzaWRl?=

    force horizontal scrollbar display on div

    =?Utf-8?B?ZGhucml2ZXJzaWRl?=, Sep 2, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    5,194
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tp?=
    Sep 2, 2005
  4. Mirela
    Replies:
    2
    Views:
    12,072
    Mirela
    Oct 13, 2003
  5. Kevin Munro

    JTable Horizontal Scrollbar

    Kevin Munro, Jan 28, 2004, in forum: Java
    Replies:
    3
    Views:
    28,776
    Kevin Munro
    Jan 29, 2004
Loading...

Share This Page