Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
830
Get NodeClicked Event To Fire (ver8.2)
posted

Just upgraded from version 2005, vol3 to 2008 vol2.  Most instances of the webtree control throughout our web app upgraded fine, except one scenario. 

Am using a databound Webtree;  parent level only gets populated.  When I click on any single node, the page postsback but the NodeClick event does not fire.  I believe the correct code is in the initializeComponent section, and that I've got the right eventhandler for clicking the webtree node, as well as the delegate to handle the NodeClicked event.   Any help/insight would be much appreciated...

this.UltraWebTree1.NodeClicked += new Infragistics.WebUI.UltraWebNavigator.NodeClickedEventHandler(this.UltraWebTree1_NodeClicked);

public void UltraWebTree1_NodeClicked(object sender, Infragistics.WebUI.UltraWebNavigator.WebTreeNodeEventArgs e)  {some code}

 

Jeffrey

 

  • 7694
    posted

     Hello,
    I am trying to reproduce the issue, unfortunately to no avail… the code below works normally.
      protected void UltraWebTree1_NodeClicked(object sender, Infragistics.WebUI.UltraWebNavigator.WebTreeNodeEventArgs e)
        {
            Label1.Text = e.Node.Text;
        }    
    Could you please send a little bit more information about the UltraWebTree  declaration.  ASPX declaration, code-behind or sample project – anything that can get us started is welcome.  There can be many reasons for that issue.
     Thanks.