Solved

dropdownlist text

Posted on 2004-09-10
8
316 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net - TypeInitializer Error 25 32
VB.NET 2008 - Windows Protected Your PC 7 41
Winform Module - What is the ASP.Net equiv 2 28
MYSQL responding very slow 3 21
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.

856 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