I have a multi-column RadComboBox in a DotNetNuke web page, the DropDownWidth is large enough to display all item data, however, the vertical and horizontal scroll bars are always shown when clicking the dropdown arrow. How do I remove the scroll bars?
4 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 10 Jun 2009, 06:22 AM
Hi Hong,
Usually the Scrollbars will appear for ComboBox when the contents in the Dropdown is larger than the size of the DropDown. I am able to remove the scrollbars with the following height and width settings.
ASPX:
Shinu
Usually the Scrollbars will appear for ComboBox when the contents in the Dropdown is larger than the size of the DropDown. I am able to remove the scrollbars with the following height and width settings.
ASPX:
| <telerik:RadComboBox ID="RadComboBox1" DropDownWidth="700px" Height="1500px" DataSourceID="SqlDataSource1" runat="server" OnItemDataBound="RadComboBox1_ItemDataBound"> |
| <HeaderTemplate> |
| <table width="700" > |
| <tr> |
| <td style="width:500px" >ProductName</td> |
| <td style="width:100px" >ProductID</td> |
| <td style="width:100px" >SupplierID</td> |
| </tr> |
| </table> |
| </HeaderTemplate> |
| <ItemTemplate> |
| <table width="700" > |
| <tr> |
| <td style="width:500px" > <%# DataBinder.Eval(Container.DataItem, "ProductName") %></td> |
| <td style="width:100px" ><%# DataBinder.Eval(Container.DataItem, "ProductID") %></td> |
| <td style="width:100px" ><%# DataBinder.Eval(Container.DataItem, "SupplierID") %></td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
Shinu
0
Hong
Top achievements
Rank 1
answered on 10 Jun 2009, 02:06 PM
Yes, I tried to change the width, the scrollbar was gone in my machine. However, it is still there when I load the page in my client's DNN portal. The scroll bar is always shown although the width is big enough. Is there any other DNN settings I need to modify to remove the bar? Thanks.
0
Hi Hong,
Do you have a live url which we can test?
Greetings,
Peter
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.
Do you have a live url which we can test?
Greetings,
Peter
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
Hong
Top achievements
Rank 1
answered on 12 Jun 2009, 03:40 PM
That is my client's employee portal web site, so I am sorry I can not let you check due to the credential reasons. Did you have the similar experience at DNN site?
Thanks,
Hong
Thanks,
Hong