473,224 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

HOWTO: Wrap Text or Wider the Drop Down Box? (Web Control)

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
Nov 18 '05 #1
3 6116
You can just drag it manually during design time what?

chanmm

"Don Wash" <do*@wash.com> wrote in message
news:u%****************@TK2MSFTNGP09.phx.gbl...
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

Nov 18 '05 #2
I don't favor having height and width attributes in any html object. I will
do that in the stylesheet - much cleaner (less source to render to browser).

Sekhar.
"chanmmn" <ch*****@hotmail.com> wrote in message
news:uu*************@TK2MSFTNGP12.phx.gbl...
You can just drag it manually during design time what?

chanmm

"Don Wash" <do*@wash.com> wrote in message
news:u%****************@TK2MSFTNGP09.phx.gbl...
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


Nov 18 '05 #3
No, 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

"chanmmn" <ch*****@hotmail.com> wrote in message
news:uu*************@TK2MSFTNGP12.phx.gbl...
You can just drag it manually during design time what?

chanmm

"Don Wash" <do*@wash.com> wrote in message
news:u%****************@TK2MSFTNGP09.phx.gbl...
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


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mythran | last post by:
I wrote an editor for a web control that allows it to list all controls on a page in a drop down box in the property grid. In the EditValue method, I have the following (not all the code, but most...
2
by: Rocco | last post by:
Hi, I have a drop down box with width=120px. The box length cannot be extended because of design issue. How can I wrap text in html drop down box ? Thanks, Rocco
0
by: Rocco | last post by:
Hi, I have learnt that there is a CSS extension of microsoft called { word-wrap : sWrap } which can be applied to <SELECT> (i.e. drop down box). How to use this in drop down box ? Besides,...
3
by: CSharpguy | last post by:
I have 3 drop downs that are populated from the databasem 4 of my web pages need to have this drop down, how can I trap the selection made in the drop down and popuate my grid on my form?
6
by: Ian Boyd | last post by:
Every time during development we had to make table changes, we use Control Center. Most of the time, Control Center fails. If you try to "undo all", it doesn't, and you end up losing your identity...
0
by: Keithb | last post by:
I have a GridView control with 2 template columns. Both contail a Label control in their ItemTemplate. The right column label wraps text on long strings, the left column just gets wider with long...
2
by: =?Utf-8?B?SlA=?= | last post by:
Hi all. I'm having a problem with a postback issue and I think it's cache related. Here's my setup: I have a web site that has a signup section. This has simple things like name, age, birth...
0
by: PromisedOyster | last post by:
I have a datagridview. One of the database bound columns shows a code. However, when I drop down this combo, I would like to see a code + description as this may help the user select the...
3
by: =?Utf-8?B?QW5kcmV3?= | last post by:
Hello, friends, We use System.Windows.Forms.ComboBox in our c#.net 2005 app. We want to make the dropdown list wider than the comboBox's width. (Some items in the dropdown list have more...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.