Hi,
I have a problem with Expand '+' buttons in an ultrawebtree. The problem is that they are still displayed at the lowest level of the tree. I am using LoadOnDemand set to AutomaticSmartCallbacks and binding tree with xml like:
<Node Tag="Controls" Text="Radio">
<Node Tag="Control" Text="Label" > <Property Tag="Property" Text="HTMLID" />
</Node>
I was trying to use ShowExpand, but it seems it doesn't change anything. Do I have to use ManualSmartCallbacks to remove those expand icons ?ThanksBartek
Maybe I will ask other question...is it possible to hide expand icon "+" at the lowest level in a tree with LoadOnDemand set to AutomaticSmartCallbacks ? Or this in fact should happen, but it's not happening in my case due to some code error ?
node.ShowExpand = false;Dan
Here's a possible option for you, not sure if it will fit your need tho.
I am now using LoadOnDemand with a Manual load. The expand icons do show up and I'm fine with that now. But prior to this I was doing a manual load myself (not demand load). I was populating the nodes myself on the node_selectionchanged event and not the DemandLoad event. I did not show any expansion indicators at all.
Since then we've had design changes that necessitated using the DemandLoad event and the indicators showing, but it is possible to not display them and still have the tree work.
In summary: Load on Demand = manual (no callbacks used in mine), and not using DemandLoad event may allow you to manually handle the expansion indicators.
Good luck,Dan
I've updated my thread (link in previous post) detailing the same issue, with the verdict.
It's bad news I'm afraid.
I think I'm having the same issue too (mine described: http://news.infragistics.com/forums/t/15687.aspx)...
I hope somebody can help us out.
As I wrote earlier it looks like ShowExpand is not working, it's probably managed by automatic LoadOnDemand.