Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DropDownlist Problem

Posted on 2006-11-16
3
Medium Priority
?
393 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 375 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 375 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Loops Section Overview
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

824 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