Height of checklistbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vikram

    Height of checklistbox

    I want to fix the height of checklistbox control so that
    when items exceed the height, than vertical scrollbar
    should be displayed.
  • Steve C. Orr [MVP, MCSD]

    #2
    Re: Height of checklistbox

    You can put your Checkboxlist into a fixed size area by putting it in a div
    such as this:

    <div id="Layer1" style="position :relative;width :350px;height:2 00px;
    overflow:scroll ;">CheckBoxL ist Goes Here</div>

    The key is to use the "overflow" CSS attribute.
    Here's more info:


    Another option is to put your Checkboxlist in an IFrame.
    Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    HALOJP kasih bocoran daftar pilihan produk desain interior bertekstur unik khusus buat referensi proyek bangunan impian kamu tanpa perlu ribet cari lagi.



    "Vikram" <anonymous@disc ussions.microso ft.com> wrote in message
    news:2c5601c51e 27$0ddd6c60$a60 1280a@phx.gbl.. .[color=blue]
    >I want to fix the height of checklistbox control so that
    > when items exceed the height, than vertical scrollbar
    > should be displayed.[/color]


    Comment

    Working...