Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Horizontal Scroll Bars in a ListBox Web Contol

Horizontal Scroll Bars in a ListBox Web Contol

Scheduled Pinned Locked Moved ASP.NET
csharphtml
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gary Hyslop at home
    wrote on last edited by
    #1

    I have an asp ListBox in an HTML table with width=100%. If a list item's text property is set to a long text value that cannot be displayed in its entirety in the extent of the list box, I want a horizontal scroll bar to appear to provide the ability to see all of the entry. My code behind language is C# but a VB.NET solution would probably suffice. In other words, I'm looking for a Win Forms analogue of lb.HorizontalScrollBar = true; etc. Gary Hyslop

    G 1 Reply Last reply
    0
    • G Gary Hyslop at home

      I have an asp ListBox in an HTML table with width=100%. If a list item's text property is set to a long text value that cannot be displayed in its entirety in the extent of the list box, I want a horizontal scroll bar to appear to provide the ability to see all of the entry. My code behind language is C# but a VB.NET solution would probably suffice. In other words, I'm looking for a Win Forms analogue of lb.HorizontalScrollBar = true; etc. Gary Hyslop

      G Offline
      G Offline
      gnjunge
      wrote on last edited by
      #2

      In HTML there is no such thing. You can create your own Listbox, but it will take a lot of DHTML coding. Or maybe try http://www.dynamicdrive.com[^] , maybe there they have a custom made DHTML listbox.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups