Parent has children but not indented

4 posts, 0 answers
  1. Leland
    Leland avatar
    4 posts
    Member since:
    May 2013

    Posted 20 Oct 2014 Link to this post

    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.
  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 23 Oct 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Leland
    Leland avatar
    4 posts
    Member since:
    May 2013

    Posted 23 Oct 2014 in reply to Nencho Link to this post

    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>

  5. Leland
    Leland avatar
    4 posts
    Member since:
    May 2013

    Posted 23 Oct 2014 in reply to Leland Link to this post

    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
Back to Top