TreeView - Child nodes position

3 posts, 1 answers
  1. GSK
    GSK avatar
    6 posts
    Member since:
    May 2010

    Posted 24 May 2010 Link to this post

    Hi,

    Can we change the position where the nodes are displayed?
    For example

    Column 1           Column 2              Column 3
    ========          ========             ========

    - Root
                              + Node 1
                              + Node 2
                               - Node 3
                                                             Child Node 1
                                                             Child Node 2


    I would require the Node 1, Node 2, Node 3 to be displayed in the second column (and not just below the "Root")

    Could somebody help me in this?
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 May 2010 Link to this post

    Hi,

    I used following style on page in order to accomplish similar appearance.

    CSS:
     
        <style type="text/css"
            .RadTreeView .rtUL .rtLI .rtUL 
            { 
                padding-left200px !important; 
            } 
        </style> 

    aspx:
     
    <telerik:RadTreeView ShowLineImages="false" ID="RadTreeView3" runat="server"
        <Nodes> 
         . . . 
        </Nodes> 
    </telerik:RadTreeView> 


    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. GSK
    GSK avatar
    6 posts
    Member since:
    May 2010

    Posted 24 May 2010 Link to this post

    It WORKS!!

    Thanks Shinu!

    ~Gsk
Back to Top