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

Tree view not coming in manner

2 Answers 53 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jack
Top achievements
Rank 1
Jack asked on 25 Aug 2011, 08:53 AM
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 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Aug 2011, 10:38 AM
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.
0
Plamen
Telerik team
answered on 26 Aug 2011, 10:06 AM
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 >>

Tags
TreeView
Asked by
Jack
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Plamen
Telerik team
Share this question
or