Solved

DropDownlist Problem

Posted on 2006-11-16
3
385 Views
Last Modified: 2012-05-05
Hi,

I have a DropDownList that is filled with data from an MSSQL database.

The data in the database can be too long. So the DropDownlist only shows the first part of the text.

Is there a way to get a DropDownlost that has more than one line per item?

I hope I made it a bit understandable, because I don't really know how to say this. :o)

Thanks in advance!!

Jerry
0
Comment
Question by:Jerry_0001
3 Comments
 
LVL 35

Accepted Solution

by:
YZlat earned 125 total points
ID: 17956568
I really don't think so, but you can make a dropdown wider so it would fit more of the text
0
 

Author Comment

by:Jerry_0001
ID: 17956680
YZlat, thanks for the fast awnser.

Problems is, making it wider is not an option I have.

The webpage has a max. size. The DropDownList already is at that max size.

And if I put Enter Values in the database? Would this do anything?

In Excel and with datagrids there is the option "Wrap". This is the kind of behaviour I'm looking for.

Hope there is something possible...
0
 
LVL 5

Assisted Solution

by:bprojoe
bprojoe earned 125 total points
ID: 17957359
You will need to get a third party control.  try....http://www.infragistics.com/ they have some nice controls.  You won't be able to show multi lines for the selected item in the drop down but when you click the ddl to view the items you will be able to have multi lines.  They have many other controls too that might work for you.

Another option is to have a text box that displays the item you selected if it is too long.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now