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
1540
Can only get the highest level to appear in the Tree
posted

I have defined NodeLayout's as follows:

NodeLayout myLayout = new NodeLayout();
myLayout.Key =
"CompanyLayout";
myLayout.TargetTypeName =
"Company";
myLayout.DisplayMemberPath =
"company_name";

 

NodeLayout myLayout2 = new NodeLayout();
myLayout2.Key =
"SiteLayout";
myLayout2.TargetTypeName =
"SecurityApp.CAPs.Model.Site";
myLayout2.DisplayMemberPath =
"site_name";

MyTree.GlobalNodeLayouts.Add(myLayout);
MyTree.GlobalNodeLayouts.Add(myLayout2);

But I'm only getting the top level Company name list in the tree display.  Not seeing any expansion icons to the left of company name.  I have checked everything I can think about.  Compared to the example in the documentation, I can't see the differance.  Any ideas on how to troubleshoot will be greatly appreciated.

Parents Reply Children