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

[Solved] RadComboBox problem

2 Answers 159 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 04 Nov 2009, 08:56 PM
I have a problem with a RadComboBox creating a scroll in a popup as soon as data gets filled in multiple rows, the ui on the combo box also breaks where it creates a weird height and the arrow drop down image becomes broken.

If I set visible to false inside the radcomboBox column it fixes it. Not sure what is going on, any help on this issue is appraciated.

Thank you.

Code sample below.


<telerik:GridTemplateColumn HeaderStyle-Width="40%" HeaderText="<% $Resources:PageControls, CoverageLevel %>">
                                            <ItemTemplate>
                                                <telerik:RadComboBox ID="cmbZoneCoverage" runat="server" EnableEmbeddedSkins="false"
                                                    Skin="Premise" Width="200px" />
                                            </ItemTemplate>     
                                        </telerik:GridTemplateColumn>

2 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 05 Nov 2009, 09:48 PM
I believe what might be happening is an issues with width/height of the column and row that the combobox is in. Have you tried to set the width of the column to something larger than the actual combobox? And have you tried to set the height of the row where you are displaying the ComboBox to ensure that it fits this way as well?
0
Peter
Top achievements
Rank 1
answered on 05 Nov 2009, 09:59 PM
Thanks for the reply. I did some more searching. I'll explain the issue a litter better, sorry for the confusion. Here are the items:
  • Template Column with a combo box within a grid with a lot of rows
  • The grid had a height of say, 200 px
  • The height of the grid works great but the page now has a scroll bar the size of the data. Which makes a lot of white space below the grid.

Turns out this is the exact same issue as this: http://www.telerik.com/community/forums/aspnet-ajax/grid/radcombobox-and-asp-net-grid-vertical-scroll-issue-in-ie7.aspx . Turns out to be an IE issue and the answer actually resolved this. Make sure the block level container of the grid has a position:relative;. Thanks!
Tags
ComboBox
Asked by
Peter
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Peter
Top achievements
Rank 1
Share this question
or