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
519
Node text showing as node5 instead of actual text.
posted

Hi , I am using a infragistics treeview control and binding the root node with the IList collection to display child nodes.

However I am facing some kind of weired issue.

 When I am adding a child node at  fourth level(Considering base as first level) , text is not appearing and its showing me as "Node5".

Further,its not showing the nodes added to it (Node5).I have checked in the datatable its showing all the data for the node properly.

If i add child nodes to the first child of base node , i dont see any issue......everything works fine.But the issue comes up when I try to add child node to Second child of root node.

I am not sure if I am binding the First child with the base node only....

Can you please help me with this??.

Thanks,
Ashish.

 

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi Ashish,

    An IList is generally not a good DataSource to use to for any control. The BindingManager in DotNet does not handle it very well, and IList is limited in that it does not have any way to notify controls when rows are added or removed.

    I recommend using BindingList<T> or even List<T>.

    If that doesn't help, then I recommend that you get the latest service release:

    How to get the latest service release - Infragistics Community

    If that still doesn't help, then it's probably a problem with the column sets. In that case we would probably need to see a small sample project demonstrating the problem in order to determine why it's not working.

Reply Children