Solved

dropdownlist text

Posted on 2004-09-10
8
319 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

615 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