Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VS2010 C#/Web, Drop Down Listbox question

Status
Not open for further replies.

DavidKnight

Programmer
Mar 31, 2004
27
0
0
CA
This quetion has to do with the standard ASP version DropDown Listbox that comes with VS2010 Professional.

Does anyone have any code that increases the width of the drop down list when the drop down arrow is selected! I have the width of the dropdown listbox set to 70px and want to display the drop down list with a width of 200px.

Anycode will help me!

Seasons greetings
David
 
out of the box no, this is purely an html issue. it has nothing to do with webforms.

what you can do is use javascript to increase the width of the html element when it has focus. jquery library makes working with js easier.

Jason Meckley
Senior Programmer

faq855-7190
faq732-7259
My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top