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

[Solved] Treeview panel refresh

1 Answer 148 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Rhys
Top achievements
Rank 1
Rhys asked on 29 May 2008, 11:19 AM
Hi, I am coming from ASP into asp.NET only now, and I am pretty new at it and at your controls.

I am building a pretty simple application, and I have most of the stuff covered, but I am just looking at the navigation. 

What I want is a tree view on the left of the screen and a datagrid on the right.  When the user click's on a nav item, "Open Call's" then the data grid will display the open calls on the HelpDesk.

I am sure that if I put a URL with a parameter in it, I can achieve this,  on a page load, but what I would like to do is only refresh the datagrid.  Similarly to you HelpDesk demo, except that I only have one Grid to update. When I DLed it i found no code behind the treeview.  Am I missing it? 

Can you please help or point me in the direction of an example?

Thanx

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 29 May 2008, 03:34 PM
Hi Rhys,

It seems your scenario will benefit from using Ajax. You can use the NodeClick server-side event of RadTreeView and update the grid depending on the clicked node. Then you can use RadAjaxManager and configure it so that RadTreeView initiates the ajax and updates RadGrid. The following example may be of help.

Best wishes,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Rhys
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or