Solved

dropdownlist text

Posted on 2004-09-10
8
314 Views
Last Modified: 2008-03-03
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
0
Comment
Question by:sandeep437
8 Comments
 
LVL 4

Expert Comment

by:Kaarthick
ID: 12028027
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
 

Author Comment

by:sandeep437
ID: 12028077
hi karthick

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

any idea
0
 
LVL 4

Accepted Solution

by:
Kaarthick earned 63 total points
ID: 12028106
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
 
LVL 3

Assisted Solution

by:imu79
imu79 earned 62 total points
ID: 12028113
use the 'DropDownWidth' property.

Imran.
0
 
LVL 2

Expert Comment

by:ahmadfuwad
ID: 12082674
you need to expand your control width using DropDownWidth property otherwise there are no other solution
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question