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

[Solved] FF3 RadCombobox Height Issue

0 Answers 123 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Yang
Top achievements
Rank 1
Yang asked on 08 May 2009, 11:10 AM
Dear Telerik,

we are using a Telerik RadCombobox to pull in a data-bound list of documents to choose from as follows. However, the list is getting really huge at the moment (>700) and we don't really want to go down the route of load-on-demand, because of performance.

<radC:RadComboBox ID="cbDocuments" runat="server" ExpandEffect="GradientWipe" style="display:block" HighlightTemplatedItems="true" HideCombo="false" ShowMoreResultsBox="false" ShowWhileLoading="false" Skin="Default2006" ItemRequestTimeout="300" AllowCustomText="false" DataTextField="Filename" DataValueField="DocumentResourceID"
<ItemTemplate> 
    <b><%# DataBinder.Eval(Container.DataItem, "Filename") %></b
    <br /><%# DataBinder.Eval(Container.DataItem, "Description")%> 
</ItemTemplate> 
</radC:RadComboBox> 

The Combobox sits in a pop-up control as well and due to the height of the Combobox (with name and description), the list gets cut off after a few hundred elements in FireFox (latest) although the markup is fine.

I've tried to programatically set the height of the drop down using the cbDocument.Height = Unit.Pixel(cbDocument.Items.Count * 50) method, but it overflows.

This only seems to happen in firefox and not in IE7, Chrome, etc...

Typically when this happens, a black border appears around the corners. Please contact me if you need anymore information

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Yang
Top achievements
Rank 1
Share this question
or