Solved

ASP.net dropdownlist  horizontal scrollbar setting

Posted on 2004-10-07
10
6,844 Views
Last Modified: 2011-10-03
Hello Expert,

can we set horizontal scroll bar for asp.net Dropdownlist control.

If yes, please let me know how we can do this.

Thanks
Mani
0
Comment
Question by:mani_sai
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
10 Comments
 
LVL 33

Expert Comment

by:raterus
ID: 12252671
Well..you could put it in a scrollable div, but I don't think you'd like the end result of that option (you'd have to scroll to drop it down)?  The usual dropdownlist has no support for a horizontal scrollbar, it would look too bulky if it had one.
0
 
LVL 33

Expert Comment

by:raterus
ID: 12252732
     <div style="width:200px; overflow: scroll">
                  <asp:dropdownlist ... />
      </div>

--The best I can think of

0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 12253184
Forcing scrollbars
The techniques used to “fix” the bug in question, can also be used for other purposes. With CSS, you can forcefully show or hide both vertical and horisontal scrollbars in both Mozilla Firefox and Internet Explorer.
Forcefully enabling scrollbars:

html {
overflow: scroll;
}

Forcefully disabling scrollbars:

html {
overflow: hidden;
}

Hiding the horizontal scrollbar in IE:

html {
overflow-x: hidden;
}

Hiding the vertical scrollbar in IE:

html {
overflow-y: hidden;
}

Forcing the horizontal scrollbar in IE:

html {
overflow-x: scroll;
}

Forcing the vertical scrollbar in IE:

html {
overflow-y: scroll;
}

Forcing the horizontal scrollbar in Mozilla:

html {
overflow: <del>moz</del>scrollbars-horizontal;
}

Forcing the vertical scrollbar in Mozilla:

html {
overflow: <del>moz</del>scrollbars-vertical;
}

http://noscope.com/journal/2004/02/horizontal_scrollbar_bug

Aeros
0
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
LVL 8

Author Comment

by:mani_sai
ID: 12369237
Sorry, It didnt help me out.

Thanks
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 12369259
did it apply the style?
0
 
LVL 8

Author Comment

by:mani_sai
ID: 12369281
I just want to set
horizontal scroll bar for asp.net Dropdownlist controlon my aspx page.

I dont want it for entire aspx page.

Thanks
0
 
LVL 33

Accepted Solution

by:
raterus earned 500 total points
ID: 12369357
If what I posted isn't good enough for you then... You can't do that!

http://www.experts-exchange.com/help.jsp#hi54
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question