dropdownlist text

hi

i am populating a dropdownlist from database. the query is working fine.

problem is the full text is not appearing in dropdownlist.

e.g if it is "expenses-legder full details" in database.

in dropdownlist its showing only  "expenses-ledger " and omitting rest of the characters.

is there any property of dropdownlist i can set to get this work.

thanks

ss
sandeep437Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
KaarthickConnect With a Mentor Commented:
There was a previous post  in EE for the same in VB. See that so that it will be of some use.

"How to set a combo box on a VB form to auto-expand"

http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21078266.html
0
 
KaarthickCommented:
Hi sandeep,

i think u need to set the size of the dropdown to auto so that it will expand depending upon the data.
0
 
sandeep437Author Commented:
hi karthick

there is no property such as "size" for dropdown.

any idea
0
 
imu79Connect With a Mentor Commented:
use the 'DropDownWidth' property.

Imran.
0
 
ahmadfuwadCommented:
you need to expand your control width using DropDownWidth property otherwise there are no other solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.