This is a migrated thread and some comments may be shown as answers.

Disable Scroll bar

2 Answers 163 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 17 Nov 2011, 06:16 AM
Hi,

I have a list box with text not being wrapped by using the method posted on this thread (http://www.telerik.com/community/forums/aspnet-ajax/listbox/scrollbars-in-radlistbox.aspx). Please see attached screenshot - listbox.png.

The downside of this is that horizontal scroll bar appears as the text is too long to display in the width of the list box. I use tool tips to display the text anyway (see listbox2.png), so I want to remove the horizontal scroll bar.

Is this possible?

Regards.

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 17 Nov 2011, 08:02 AM
Hello,

You can try the following CSS
CSS:
<style type="text/css">
 .RadListBoxScrollable .rlbGroupRight
 {
  overflow-x:hidden !important
 }
</style>

Thanks,
Princy.
0
Richard
Top achievements
Rank 1
answered on 18 Nov 2011, 01:03 AM

Thanks for that Princy. It did work!
Tags
ListBox
Asked by
Richard
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Richard
Top achievements
Rank 1
Share this question
or