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

RadComboBox on Page Destroys Treeview

3 Answers 50 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 07 Jun 2012, 02:57 PM
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

3 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 2
answered on 11 Jun 2012, 12:30 PM
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.
0
Dimitar Terziev
Telerik team
answered on 12 Jun 2012, 10:34 AM
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.
0
Paul
Top achievements
Rank 1
answered on 12 Jun 2012, 01:05 PM
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
Tags
TreeView
Asked by
Paul
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 2
Dimitar Terziev
Telerik team
Paul
Top achievements
Rank 1
Share this question
or