4 Answers, 1 is accepted
0
Hi Rosen,
Unfortunately RadComboBox does not support this capability in a cross-browser way. By default if you don't set the Width property of RadComboBox the item text will wrap (instead of creating scrollbars). You can use the DropDownWidth property to control the width of the items.
Regards,
Albert
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Unfortunately RadComboBox does not support this capability in a cross-browser way. By default if you don't set the Width property of RadComboBox the item text will wrap (instead of creating scrollbars). You can use the DropDownWidth property to control the width of the items.
Regards,
Albert
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rosen
Top achievements
Rank 1
answered on 24 Feb 2009, 11:16 AM
Thank you Albert. What are the non cross-browser options?
0
Hi Rosen,
There are a few CSS overrides which will work in non-IE browsers. In IE items which have shorter text keep their size. Anyway here is the required CSS:
<style type="text/css">
.rcbList
{
white-space:nowrap;
}
.rcbList li
{
border: 1px solid red;
position: relative;
display:inline-block;
}
.RadComboBoxDropDown,
.rcbScroll
{
overflow: visible !important;
width: auto !important;
}
</style>
Greetings,
Albert
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
There are a few CSS overrides which will work in non-IE browsers. In IE items which have shorter text keep their size. Anyway here is the required CSS:
<style type="text/css">
.rcbList
{
white-space:nowrap;
}
.rcbList li
{
border: 1px solid red;
position: relative;
display:inline-block;
}
.RadComboBoxDropDown,
.rcbScroll
{
overflow: visible !important;
width: auto !important;
}
</style>
Greetings,
Albert
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rosen
Top achievements
Rank 1
answered on 24 Feb 2009, 01:14 PM
Thanks a lot.