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
Solved

DropDownlist Problem

Posted on 2006-11-16
3
388 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

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 have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

840 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