i just need a pointer or reference to something im looking for:
I have a dropdownlist, one of the items are very long so if i have to select that item, it widens my dropdownlist and pushes other controls to the right.
1)Is there a way to wrap the text? or get around it? or
2)Is there a way i can add a
to that one item?
I cant widen the box, and i cant let the item's text be cut, by giving the box a fixed width.
Thank you for your time in advance.
Loading
VulpesPosted Oct 20, 2011, 11:26 AM
You need to get the data into a string array or List
raven danielPosted Oct 20, 2011, 11:07 AM
"Wood factory Funitures Housine and insurances industry insurance etc"
It should display "Wood factory funritures housine and /n
unsurances industry insurance ect"
over two lines. due to the nature of the data and the requirements from the client, i cant change my dropdownlist to any other control, it must be done in the ddlist could you take me step by step how i would do this. ajax,css, C#, html anything to help me accomplish this?
Thank you for your patience.
VulpesPosted Oct 20, 2011, 6:56 AM
raven danielPosted Oct 20, 2011, 6:12 AM
VulpesPosted Oct 20, 2011, 5:50 AM
raven danielPosted Oct 20, 2011, 5:24 AM
raven danielPosted Oct 20, 2011, 5:16 AM
VulpesPosted Oct 20, 2011, 5:09 AM
Can't you just find a way to abbreviate the long item so that it will fit into the box?
Even something like this might be a reasonable solution:
The quick brown fox jumped over the lazy dog
The quick brown fox .... dog