Welcome to the WinForms feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinForms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

0
Votes

I have the following code for the user to be able to check/uncheck all child nodes when a node is checked through the NodeClick event:


Private Sub tvRsk_NodeMouseClick(sender As Object, e As TreeViewAdvMouseClickEventArgs) Handles tvRsk.NodeMouseClick 

       SelNodesPropagation(e.Node.Nodes, Not e.Node.Checked) 

 End Sub 

 Private Sub SelNodesPropagation(ByVal nd As TreeNodeAdvCollection, bCheck As Boolean)

        Dim nodX As TreeNodeAdv 

        If (nd Is Nothing) Then Exit Sub 

       For Each nodX In nd 

             nodX.Checked = bCheck 

            SelNodesPropagation(nodX.Nodes, bCheck) 

       Next 

 End Sub 


When a node is clicked, sometimes it works well, sometimes it does not.

Please see what happens in 



Could you please help?

Thx