• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 474
  • Last Modified:

DropDownListBox - How to add horizontal scrollbar .

I am using a drop down list box. This drop down list box
populating dynamically from the database with long text.
So each record is having more then 500 characters.

Is there is any way to add horizantal scrollbar on
dropdown list on asp.net page

Thanks
0
dba_dba
Asked:
dba_dba
2 Solutions
 
mmarinovCommented:
Unfortunatelly you can not add a horizontal scroll bar in the DropDownListBox.
You can try to write some javascript code and solve the problem by working with div elements

Here is some articles
http://www.codetoad.com/dhtml_horizontal_scroller.asp
http://www.codetoad.com/forum/14_22665.asp

B..G
0
 
Geo123Commented:
dba I hear you..... but its not easy. So I suggest you do listbox when they click the item in listbox it populates a big box on right of Listbox....it will take up screen acerage but its good for user and they will like it.

cheers  George
0
 
Bob LearnedCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: mmarinov {http:#9810137} & Geo123 {http:#9810248}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now