treeview like Gmail

2 posts, 0 answers
  1. Bharani Mani
    Bharani Mani avatar
    40 posts
    Member since:
    Dec 2009

    Posted 28 Dec 2010 Link to this post

    Hello,
              I would like to know whether I can accomplish what we have in gmail using RadTreeView control. When the user clicks on inbox on the left, it connects inbox with the email section on the right. Is it possible when a user selects a node in RadTreeView control I want to connect the node with a box on the right.

    Thanks,
    Bharani
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 29 Dec 2010 Link to this post

    Hello Bharani,


    You could attach "NodeClick" event, get the clicked node Text and retrieve the corresponding data to show at right side.
    Code:
    protected void RadTreeView1_NodeClick(object sender, Telerik.Web.UI.RadTreeNodeEventArgs e)
    {
         // e.Node.Text will be clicked node Text
         // Prepare query to populate control at right side and execute it
    }

    A similar (not exactly) approach is demonstrated here. Have a look on this:
    TreeView / Custom Attributes


    -Shinu.
Back to Top