Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi friends.


if we are adding larger data into dropdownlist i want to put the vertical bar.

please help me.
Posted
Updated 24-Jul-13 18:21pm
v3
Comments
Samresh.ss 24-Jul-13 9:04am    
what do you wish to do. Its not clear in here
Sunil Mahanta 24-Jul-13 9:04am    
Can you elaborate your requirement.
CH Guravaiah 24-Jul-13 9:09am    
if we are adding larger data into dropdownlist i wan to put the vertical bar.
Dholakiya Ankit 25-Jul-13 0:50am    
ADD OVERFLOW SCROLL TO DROPDOWNLIST STYLE

1 solution

If there would be a parent HTML element with a height limitation around your DropDownList it would force a scroll bar.
In the parent element (e.g. a Div) you overflow Auto or Scroll
overflow: auto will show a scrollbar when content is clipped
overflow: scroll will show a scrollbar even if no content is clipped

Cheers,
Edo
 
Share this answer
 
Comments
CH Guravaiah 24-Jul-13 9:28am    
not working.
Joezer BH 25-Jul-13 2:09am    
Copy&Paste your html so that we can see what you tried...
BTW - what browser are you using to check and what browser(s) do your clients use?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900