I have a XamDataTree inside busyindicator. The XamDataTree with checkbox visibility is true, and it binds to a Hierarchical.
<ig:XamDataTree x:Name="pgaDataTree" NodeCheckedChanged="pgaDataTree_NodeCheckedChanged" > <ig:XamDataTree.CheckBoxSettings> <ig:CheckBoxSettings CheckBoxVisibility="Visible"
CheckBoxMode="Manual"
IsCheckBoxThreeState="False" /> </ig:XamDataTree.CheckBoxSettings> <ig:XamDataTree.GlobalNodeLayouts> <ig:NodeLayout Key="ProblemLayout"
TargetTypeName="Problem"
DisplayMemberPath="Description"> <ig:NodeLayout.ExpandedIconTemplate> <DataTemplate> <Image Style="{StaticResource CPProblemImage}" /> </DataTemplate> </ig:NodeLayout.ExpandedIconTemplate> <ig:NodeLayout.CollapsedIconTemplate> <DataTemplate> <Image Style="{StaticResource CPProblemImage}" /> </DataTemplate> </ig:NodeLayout.CollapsedIconTemplate> </ig:NodeLayout> <ig:NodeLayout Key="GoalLayout"
TargetTypeName="Goal"
DisplayMemberPath="Description"> <ig:NodeLayout.ExpandedIconTemplate> <DataTemplate> <Image Style="{StaticResource CPGoalImage}" /> </DataTemplate> </ig:NodeLayout.ExpandedIconTemplate> <ig:NodeLayout.CollapsedIconTemplate> <DataTemplate> <Image Style="{StaticResource CPGoalImage}" /> </DataTemplate> </ig:NodeLayout.CollapsedIconTemplate> </ig:NodeLayout> <ig:NodeLayout Key="ApproachLayout"
TargetTypeName="Approach"
DisplayMemberPath="Description"> <ig:NodeLayout.ExpandedIconTemplate> <DataTemplate> <Image Style="{StaticResource CPApproachImage}" /> </DataTemplate> </ig:NodeLayout.ExpandedIconTemplate> <ig:NodeLayout.CollapsedIconTemplate> <DataTemplate> <Image Style="{StaticResource CPApproachImage}" /> </DataTemplate> </ig:NodeLayout.CollapsedIconTemplate> </ig:NodeLayout> </ig:XamDataTree.GlobalNodeLayouts> </ig:XamDataTree>
Here all the binding steps
1. Show busyindicator
2. Call RIA service get all item soure
3.Bind ItemSource to xamtree
4.Hide busyindicator
The first binding is OK. Then if the user user click a button to trigger rebind the XamDataTree with updated datasoure. The second binding, all the Nodes are disable (can not expand or select any node) Eventhough i try to enable all the nodes using below function it does not work
private void EnableTreeNodes(bool enable, XamDataTreeNodesCollection nodes) { foreach (XamDataTreeNode node in nodes) { node.IsEnabled = enable; if (node.HasChildren) EnableTreeNodes(enable, node.Nodes); } }
If XamDataTree is not inside the busyindicator, everything works fine.
Please hep
Hi Friday1234,
Is it possible to supply me with a simple example, where the issue is reproducible/visible, because I can't reproduce it.
Regards,
Tania
The problem is like this http://community.infragistics.com/forums/p/44589/244820.aspx#244820.
My Infragistics Component Version is 10.3.20103.2117 and I have the same problem with ChildWindows and busyindicator
Hi all,
I'm new with this issue.
When I open a child window and then close it, my XamDataTree component stays disabled.
Did you find any solution ?
Thanks for help
Are you using the latest version of the XamDataTree? If you are then the issue should be resolved, If you aren't then you should apply the service release first and see if that solves your issue
I did used 10.3 version (the latest version).
Friday1234 said: I did used 10.3 version (the latest version).
Did it work for you? And are you using the lastest Service Release of the DLL or the Release version of the dll?
It does not work for me. But what is the diffrence between the lastest Service Release of the DLL or the Release version of the dll?