Drop down in asp.net

A

Amol

Hi ,
I am developing an appl'n in c# and asp.net.My prob is I have a
dropdown filled with certain values. Now i need if the user click on
the dropdown the "dropdown menu " of the combo should get enlarge ie.
teh text in it should get bigger but not the actual combox size should
get affected.
Can anybody suggest me on this

Thanx in Adv
Amol
 
G

Guest

you could all the script:

onchange="this.style.fontWeight=bold"

(via the control's attributes)

problem is, it will affect all of the options in the control.
Only way around it would be to set the style on each othe the control's
options...tedious, but doable (at least in IE)
 
A

Amol

hi
Thanx for the solution.But my prob is differenet .I dont want to amek
the items bold or sonething.
My requirement is when I click on teh dropdownlist it shows the item
list i want that item list to be wider that the size of dropdownlist
control.
can u suggest anything.
 

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,774
Messages
2,569,598
Members
45,152
Latest member
LorettaGur
Top