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
390
tree in composite control with body runat="server" not working
posted

Hello!

I have a composite control with a tree in it:

            Dim infraTree As Infragistics.WebUI.UltraWebNavigator.UltraWebTree
            infraTree = createInfraTree()
            Dim refreshTree As New Infragistics.WebUI.Misc.WebAsyncRefreshPanel
            refreshTree.ID = "Page42.refreshTree"

            Page.Controls.Item(3).Controls.Add(treeOpenDiv)
            Page.Controls.Item(3).Controls.Add(refreshTree)
            Page.Controls.Item(3).Controls.Add(treeCloseDiv)

Page.Controls.Item(3) is the form of the page.

If I change the runat proporty of the body for the page, including my composite control to true, the tree is shown completely collapsed, and I can't expand any nodes.

 Any suggestions?