Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dropdownlist

Status
Not open for further replies.

nvegamarrero

Programmer
Apr 22, 2005
6
US
Hello:
I have to show in a dropdownlist something but I can't resize the
control(dropdownlist) but could be possible some text or some options in the
dropdownlist are too bing I mean that the
dropdownlist.width< dropdownlist.item[someitem].text.length
I had been thinking implement some functionanility in the onmouseover
listitem but the listitem does not support any atributte.
I have two option :
1.Implemente a popup when someitem.onmouseover showing the fulltext
2. horizontal scroll
But I have no idea how I can do it

Somebody can help me
Thanks
--
Nelson Vega Marrero
Las Vegas Nevada
Tech Result


 
Should be able to resize the conrol.
If all else fails try DropDownControl.Style.item("width")="300px"
 
Hello:
I don't want to resize because I don't have space for that I need when the mouse is over some item shown in a popup or something like this the full text
 
You can't have a mouseover event for the individual items in the drop down list. Why don't you have autopostback on the drop down list (but only show 50 characters for example) and when the user selects an item, display the full text in another label (or pop-up if that is your preferred option).

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top