473,385 Members | 1,487 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,385 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 6128
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
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.