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

OnNodExpand not firing

2 Answers 116 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Eric Klein
Top achievements
Rank 1
Eric Klein asked on 28 Aug 2009, 01:47 PM
I have a trewwview on the page

  <telerik:RadTreeView ID="RadTreeView1"  runat="server" Skin="Vista" OnNodeClick = "onNodeClicking"    
                             OnNodeCollapse="onNodeCollapse" OnNodeExpand="onNodeExpand" >     
                        </telerik:RadTreeView> 

The onNodeClick works fine but OnNodeExpand and OnNodeCollapse nver fires.  I wrote just basic code and put breaks in and  the code never makes to the break.

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 29 Aug 2009, 05:27 AM
Hi Erik,

For the the NodeExpand event to fire you need to set the ExpandMode property of the RadTreeNode to ServerSide.

Thanks
Princy
0
Eric Klein
Top achievements
Rank 1
answered on 31 Aug 2009, 03:20 PM
Thanks, that fixed it
Tags
TreeView
Asked by
Eric Klein
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Eric Klein
Top achievements
Rank 1
Share this question
or