How can I increase the DropDownWidth of a dropdownlist at runtime?

G

Guest

I m working in asp.net using C#, I want a dropDownList , in which the drop
down

WIDTH is Flexible , Depending on the item whose width is the greatest.
ACTUAL WIDTH OF DROP DOWN

REMAIN

FIXED, ONLY the WIDTH of the drop down window changes acording to the max

WIDTH of item it contains ,
in simple words ...
need the Facility of DropDownWidth Property in web application.. This
property

applies only for Windows Forms.

I need some similar solution for this without creating usercontrols..

http://msdn.microsoft.com/library/en-us/dnwinforms/html/bettercombobox02.gif
 
B

Bruce Barker

no html control supports this. you will have to write, buy or download one.
the implementaion is a textbox, a clickable image(s), a div for the
dropdown, and a some client script to tie it together.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top