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

treeview like Gmail

1 Answer 80 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Bharani Mani
Top achievements
Rank 1
Bharani Mani asked on 29 Dec 2010, 02:05 AM
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

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Dec 2010, 10:48 AM
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.
Tags
TreeView
Asked by
Bharani Mani
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or