Solved

DropDownlist Problem

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

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…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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 …

710 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