As much I remember, vertical scroll bar appears automatically for a listbox as soon as the items increase in it that occupy more than the defined height. Set a height parameter of your listbox and it will automatically show you scrollbar, once items cross it.
To get a horizontal scroll in listbox, you can put the
listbox
in a
div
with it's attribute '
overflow
' or '
overflow-x
' set as '
auto
'.
Have a look at this:
Finally a Horizontal Scroll Bar List Box in ASP.NET![
^]