Rending Issue when used in a TreeListTemplateColumn

3 posts, 1 answers
  1. TheLostLeaf
    TheLostLeaf avatar
    34 posts
    Member since:
    Feb 2007

    Posted 20 Feb 2011 Link to this post

    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. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 24 Feb 2011 Link to this post

    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!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. TheLostLeaf
    TheLostLeaf avatar
    34 posts
    Member since:
    Feb 2007

    Posted 24 Feb 2011 Link to this post

    Thanks ! Worked perfect.
Back to Top