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

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
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.

EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.