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

Parent has children but not indented

3 Answers 98 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Leland
Top achievements
Rank 1
Leland asked on 20 Oct 2014, 08:07 PM
In the RadTreeView, my partent node expands out to the appropriate child nodes. Problem is that the child nodes line up right with the Parent node.
I bound to an objectDataSource with ParentID, ID, Name. I can't get the children to line up over to the right.

3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 23 Oct 2014, 08:48 AM
Hello Leland,

The described issue, seems to be related with some styles applied on the control. Do you use any custom css style rules? If so, please provide us with them so we could replicate the issue locally. In addition, please specify if you are using any custom skin on the control. Lastly, specify the currently used version of our controls.


Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Leland
Top achievements
Rank 1
answered on 23 Oct 2014, 07:46 PM
I'm using RadSkinManager and SkinChooser

Telerik version: 2014 Q1

========= CSS Code: (not sure if this was created automatically) ==================
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />

    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .RadTreeView .rtUL .rtLI .rtUL
        {
           padding-left: 0px !important;
         }
    </style>

0
Leland
Top achievements
Rank 1
answered on 23 Oct 2014, 07:57 PM
As soon as I posted, I tried removing this style:

 .RadTreeView .rtUL .rtLI .rtUL
        {
           padding-left: 0px !important;
         }

Then my treview drew the child nodes correctly. I'm sure I googled this, but not using it now. :)

Thanks
Tags
TreeView
Asked by
Leland
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Leland
Top achievements
Rank 1
Share this question
or