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

Rending Issue when used in a TreeListTemplateColumn

2 Answers 59 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
TheLostLeaf
Top achievements
Rank 2
TheLostLeaf asked on 20 Feb 2011, 10:20 PM

Hello,

When I use a RadComboBox in a TreeListTemplateColumn ItemTemplate, it fails to render properly.
Please see attached image. I tested in IE8 and Firefox. Telerik Version: 2010.3.1317.40.

 

 

 

<telerik:TreeListTemplateColumn DataField="ProcessNameTemplate" UniqueName="ProcessNameTemplate" HeaderText="">
  <ItemTemplate 
     <telerik:RadComboBox ID="rcb" runat="server" 
         Visible="true" AutoPostBack="true" onselectedindexchanged="rcb_SelectedIndexChanged" ></telerik:RadComboBox>   
    </ItemTemplate>
</telerik:TreeListTemplateColumn>

Thank you.

2 Answers, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 24 Feb 2011, 09:54 AM
Hello,

The reason for this issue is that css styles of the treelist overwrite the styles of the combobox. You can fix it with the following css:

div.RadComboBox td  {
   padding: 0 !important;
}

Best wishes,
Yana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
TheLostLeaf
Top achievements
Rank 2
answered on 24 Feb 2011, 10:52 PM
Thanks ! Worked perfect.
Tags
ComboBox
Asked by
TheLostLeaf
Top achievements
Rank 2
Answers by
Yana
Telerik team
TheLostLeaf
Top achievements
Rank 2
Share this question
or