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

RadTreeView selectenode auotpostback

3 Answers 64 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Rubihno
Top achievements
Rank 1
Rubihno asked on 29 Sep 2008, 07:33 PM
Hi,

I have changed the treeview asp.net 2.0 with a RadTreeView, i have populate the control using the sql data tables.

Table ClassRoom (radTreeview)

ID_Classroom
Name

I have a gridview Reservation that works with sqldatasoruce ( table reservation)

Table Reservation

ID
Subject
Start
End
Recurrence_rula
Data_storage
ID_Classrom

in sqldatasource Reservation i have set a select query -> name (ID_Classroom) value (RadTreeView1.SelectedValue) parameter source (Control) ControlID (RadTreeview1)

When i click a node classroom there isn't a autoposback, and don't filter the gridview reservation by ID_Classroom

With treeview asp.net 2.0 there is autopostback when i select a node...

how i make to selectnode to treeview and filter a gridview?

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 30 Sep 2008, 09:03 AM
Hello Rubihno,

You need to subscribe to the NodeClick event.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rubihno
Top achievements
Rank 1
answered on 30 Sep 2008, 09:13 AM
I must change the configuration into sqldatasource reservation?

How i make to view a gridview or a scheduler if i select node classrom?
0
Rubihno
Top achievements
Rank 1
answered on 01 Oct 2008, 02:30 PM
I want to filter radgrid or scheduler reservation when i select node on Radtreeview (node value -> ID_Classroom -> node.text -> Name)

The sqldatasource reservation of radgrid is correct, i set control and parameter, but don't run autopostback on treeview, another possibility?i don't know how make on nodeclick..
Tags
TreeView
Asked by
Rubihno
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Rubihno
Top achievements
Rank 1
Share this question
or