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
Custom created Webdatatree get selected node after postback

Hi, i have create on a webpage a custom webdatatree with several rootnodes and several root childs (created

and each node ist created as checkbox.

how can i get the selected node after a postback on server side (code behind) ?
After click on a button on the page i want get the selected node. i have tryed with
 For Each node As DataTreeNode In WebDataTree1.AllNodes

            If (node.Selected) Then

                Dim stest As String = "Huho"

            End If


but always no node are selected after postback