Null Template when adding nodes in NodeExpand

2 posts, 0 answers
  1. JNG
    JNG avatar
    10 posts
    Member since:
    Jul 2012

    Posted 12 Oct 2015 Link to this post

    I am adding nodes in the NodeExpand event to utilize LOD.  However, the treeview uses a NodeTemplate which is added in the OnInit and Page_load events.  But I cannot access the controls for the new node that I'm adding.  Do I need to add the node to the treeview first and reiterate through it to access the control?

     I need to access the controls to set a control to visible for the newly created node and to modify the node text.

  2. JNG
    JNG avatar
    10 posts
    Member since:
    Jul 2012

    Posted 12 Oct 2015 in reply to JNG Link to this post

    Disregard.  I had to add the new node to the parent node first.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top