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
660
How to temporarily disable tree
posted

I am also getting viewstate errors and other errors in the tree.  When I perform an action, and that action causes the tree to be refreshed, it works fine.  However, this sometimes takes a few seconds.  But, if a user clicks on the tree or clicks another button while it is refreshing this causes errors (sometimes viewstate errors, depending on what the user does).  So, how can I disable the tree temporarily, while the tree is being refreshed?  I tried the this.mytree.enabled = false;  But, that doesn't work.  It doesn't disable the tree, when its called before updating the tree! (but does work in page load, just as a test I made.)   How can I make sure the tree is disabled while it is being refreshed?  I also made the mouse pointer into an hourglass, which does show the user, that they must wait, but I can't disable the tree.  Do I need to do it in javascript?  Thanks. 

 Also,  I noticed when I scroll about 1/3 of the way down, and click on a node, the tree temporarily collapses about half of the nodes that are showing in the tree, then expands them.  (this only happens when I move the scrollbar down about 1/3 of the way through the parent nodes, not at or near the top of the tree, so this means that it's not my code.) So, that causes an annoying flashing in  the tree.  How do I get rid of that?

Also, on your main forum page, when you click the 'more...' link, it doesn't do anything, it just brings you to the exact same page you were on, so that should be fixed.