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

[Solved] Scrollbars

1 Answer 90 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Stefan Hansen
Top achievements
Rank 1
Stefan Hansen asked on 08 Jul 2009, 07:35 AM
hi!
I've a problem with scrollbars. I don't know how to eliminate the horizontal scrollbar.
Here is my code. I hope someone can help me:
<telerik:RadComboBox ID="RCB_Test" runat="server" Width="250px" Height="400px" Skin="Web20" DropDownWidth="751px" HighlightTemplatedItems="true" OffsetX="-400" OffsetY="-300"  > 
    <HeaderTemplate> 
        <table cellspacing="0" cellpadding="0" style="width:731px;"
            <tr> 
                <td> 
                    <asp:Label ID="LB_HeaderTest" runat="server" Text="Test"></asp:Label> 
                </td> 
            </tr> 
        </table> 
    </HeaderTemplate> 
 
    <ItemTemplate> 
        <table cellspacing="0" cellpadding="0" style="width:731px;"
            <tr> 
                <td style="width:300px; padding-top:6px"
                    <asp:Image ID="IM_Test" runat="server"/> 
               </td> 
               <td style="text-align:left; width:401px;"
                    <asp:Label ID="LB_Test" runat="server" CssClass="text"></asp:Label> 
               </td> 
            </tr>
       </table>
   </ItemTemplate> 
</telerik:RadComboBox> 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 08 Jul 2009, 10:08 AM
Hello Stefan,

You can try out the following css code to hide horizontal scroll bar in RadComboBox:
 <style type="text/css">
   .RadComboBoxDropDown_Web20 .rcbScroll
   {
     overflow-x:hidden !important;
   }
 </style>


Thanks
Princy.
Tags
ComboBox
Asked by
Stefan Hansen
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or