# WPF TreeView problem

**URL:** <https://forum.kirupa.com/t/wpf-treeview-problem/323840>\
**Category:** programming\
**Created:** [July 20, 2011, 5:49pm UTC](https://forum.kirupa.com/t/wpf-treeview-problem/323840 "2011-07-20T17:49:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karteek](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Karteek](https://forum.kirupa.com/u/Karteek)\
**Post date:** [July 20, 2011, 5:49pm UTC](https://forum.kirupa.com/t/wpf-treeview-problem/323840/1 "2011-07-20T17:49:24Z")

</div>

Hi kirupa,

Plz let me know the way to bind data from a collection to a treeview . i am parsing xml file so the situation is i am not able to use hierarchical data template nor i can use any object data provider and its throwing error something like this—

“Need to add Type convertor …”

Plz respond asap. i am in need …
