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

do you have an example which demo treeview, load on demand, refresh treeview with timer

3 Answers 111 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Zhengmao
Top achievements
Rank 1
Zhengmao asked on 17 Apr 2008, 03:27 PM
Hi

do you have treeview with demostrate treeview loaded from sql, some child node load on demand, refresh treeview from sql and keep expanded state for the node, and node click to display a gridview?

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 17 Apr 2008, 03:33 PM
Hello Zhengmao,

Please refer to the following examples:

Load On Demand Server Side

Server-side events (you can use the NodeClick server event to display/update a gridview)

The expanded state of the nodes is persisted after postback by default.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Zhengmao
Top achievements
Rank 1
answered on 17 Apr 2008, 05:22 PM
the example only for load on demand, do you have treeview which needs to refresh itself every several minutes by using Microsoft AJAX timer and the nodes whose added on flying can toggle NodeClick event?
0
Zhengmao
Top achievements
Rank 1
answered on 17 Apr 2008, 08:36 PM
I have added AJAX timer to FileBrowser example, it seems work now, I can use timer to trigger treeview refresh.
Tags
TreeView
Asked by
Zhengmao
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Zhengmao
Top achievements
Rank 1
Share this question
or