RadComboBox on Page Destroys Treeview

4 posts, 0 answers
  1. Paul
    Paul avatar
    23 posts
    Member since:
    Sep 2006

    Posted 07 Jun 2012 Link to this post

    Hi,

    I have an application that uses a Treeview control.
    I have now added a RadCombo to the page using the following html:
    <div style="position: absolute; top: 230px; left: 300px; width: 100px; height: 30px">
      <telerik:RadComboBox ID="PalletList" runat="server" Width="100px"
        Enabled="False" EnableEmbeddedSkins="False" EnableTextSelection="False"
        Skin="XLogixBlue" SkinID="XLogixBlue" ZIndex="8000">
      </telerik:RadComboBox>
    </div>

    This block of code appears before the treeview in the page.
    When this code is inserted in the page, the formatting in the treeview is completely messed up, and it no longer works.
    e.g. initially the treeview displays only the top level node(s). When the combo is in the page, the pus sign to the left of the node does not display, but instead shows a little circle, and the node can not be expanded.
    Please see attached images.

    I am using Combos in several other pages, but so far this is the only one with a treeview.

    I am using RadControls version 2012_1_215

    Any suggestion appreciated.

    Thank you

    Paul
  2. Kevin
    Kevin avatar
    360 posts
    Member since:
    Jul 2012

    Posted 11 Jun 2012 Link to this post

    Hello Paul,

    I believe your RadComboBox skin has some styles that are conflicting with the RadTreeView ones. As both controls use lists to render its content, I have to assume you have a general style in the RadComboBox that acts as global style, instead of being contained in a RadComboBox specific class name.

    I hope that helps.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 12 Jun 2012 Link to this post

    Hi Paul,

    By default the two controls should not interfere with each other and as Kevin has mentioned the problem might be caused by some global styles applied.

    Kind regards,
    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Paul
    Paul avatar
    23 posts
    Member since:
    Sep 2006

    Posted 12 Jun 2012 Link to this post

    Hi,

    Thanks both for your replies.

    I can't see any global styling that should affect them, and in fact all the Skin CSS files are included for every control in my Master Page, so I would expect the treeview to be affected whether or not there is a combo on the page.
    My Skin is in fact a slightly modified version of  the Office2007 skin.

    Setting the Combo to use the Default embedded skin also has no effect.

    I will try and create a simple project to see if I can reproduce the problem and get back to you.


    Paul
Back to Top