Tree view not coming in manner

3 posts, 0 answers
  1. Jack
    Jack avatar
    67 posts
    Member since:
    Jul 2010

    Posted 25 Aug 2011 Link to this post

    Helo to Telerik Team I need your help.I have an asp.net web application in that I have a radtreeview

    <telerik:RadTreeView runat="server" ForeColor="Black" ID="RadTreeView1" DataSourceID="SqlDataSource4"
                                DataFieldID="UserCode"  DataTextField="Name" DataValueField="UserCode"
                                 DataFieldParentID="SponsorCode" Skin="WebBlue">
                                <DataBindings>
                                    <telerik:RadTreeNodeBinding Expanded="true" />
                                </DataBindings>
                            </telerik:RadTreeView>


    Now what happening as i have so much data when I see output the some lines are coming in lefthand side and also treeview is expanding in right side at so
    large..I want all the nodes should come in center and not in left and right direction and also lines should not be there
    ...Plz help


    I am attaching image plz see
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 25 Aug 2011 Link to this post

    Hello Goldy,

    I am not quite sure about your first issue.In order to hide the lines try setting the following  CSS
    CSS:
    <style type="text/css">
     .RadTreeView_WebBlue .rtLines .rtFirst, .rtUL
     {
       background-image: none !important;
     }
    </style>

    Thanks,
    Shinu.
  3. Plamen
    Admin
    Plamen avatar
    3040 posts

    Posted 26 Aug 2011 Link to this post

    Hello Goldy,

    You can also consult with these help articles related with the RadTreeView appearance: ShowLineImages Property, Reduce the space between the nodes, Wrapping Node Text.


    All the best, Plamen Zdravkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top