----- SteveV wrote: -----
Imran said:
Autosize property will probably adjust the width of the whole
control according to the values contained...but i want the
dropdownlist control to keep its width, & upon clicking, only the drop
down portion should expand displaying the whole value. You can see
what i want by viewing the properties of any control in .NET
environment so that the width of the properties window is kept small,
and viewing the options say, the 'visible' property, the width of that
combo being small, & when u click it, the values true & False appear
in their whole text.
Have a look at the DropDownWidth property
--Steve
thats exactly what I want but problem is that DropDownWidth property is not there for System.Web.UI.WebControls.DropDownList control which I am using in VB.NET, this property is there for System.Windows.Forms.ComboBox() which I can't use in VB.NET. Anyways, thanks alot, will keep looking for my solution