OnNodExpand not firing

3 posts, 1 answers
  1. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 28 Aug 2009 Link to this post

    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. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 29 Aug 2009 Link to this post

    Hi Erik,

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

    Thanks
    Princy
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 31 Aug 2009 Link to this post

    Thanks, that fixed it
Back to Top