HighDots Forums  

How to Wrap Text or Wider the Drop Down Box? (ASP.NET Web Control)

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss How to Wrap Text or Wider the Drop Down Box? (ASP.NET Web Control) in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Don Wash
 
Posts: n/a

Default How to Wrap Text or Wider the Drop Down Box? (ASP.NET Web Control) - 08-07-2004 , 10:57 AM






Hi There!

I have a Server-side Drop-down box in ASP.NET (VB) page. What do I do to
widen the Drop down box's Pull-Down list's width?

I'm not talking about the Drop-down box's width but the box that appear when
user clicks the drop-down arrow button. Because items in the Drop down list
are a little long, user can't see the full thing when they pull down the
items from the drop down list.

Please help!

Thanks in advance!

Don



Reply With Quote
  #2  
Old   
Julian Roberts
 
Posts: n/a

Default Re: How to Wrap Text or Wider the Drop Down Box? (ASP.NET Web Control) - 08-07-2004 , 11:46 AM






What code is generated? The box should expand to accommodate the widest
entry.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004




Reply With Quote
  #3  
Old   
Don Wash
 
Posts: n/a

Default Re: How to Wrap Text or Wider the Drop Down Box? (ASP.NET Web Control) - 08-07-2004 , 05:21 PM



Unfortunately, it doesn't. I'm not talking about the Drop-down box's
width but the box that appear when
user clicks the drop-down arrow button. Because items in the Drop down list
are a little long, user can't see the full thing when they pull down the
items from the drop down list.

E.g., The Dropdown List Width is 100px, but the contents width is 200px. I
want the contents to shown in full when user click the Drop down box button.

It is easier to do it in Windows Forms' ComboBox, which have DropdownWidth
property. Is there an equivalent property in Web Control Dropdown box?

Thanks,
Don

"Julian Roberts" <newsg (AT) charon (DOT) co.uk> wrote

Quote:
What code is generated? The box should expand to accommodate the widest
entry.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004






Reply With Quote
  #4  
Old   
danilocelic
 
Posts: n/a

Default Re: How to Wrap Text or Wider the Drop Down Box? (ASP.NET Web Control) - 08-07-2004 , 06:04 PM



Don Wash wrote:

Quote:
E.g., The Dropdown List Width is 100px, but the contents width is 200px. I
want the contents to shown in full when user click the Drop down box button.
If you set teh width of a select list, then the drop down will be only as wide as the select list itself. Best to not set any width and it'll expand to the size of the content, or set it wider than any expected values.



--
Enjoy,
Danilo Celic
Quote:
Extending Knowledge Daily
http://www.CommunityMX.com/

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.