Sunday, March 27, 2005

Hierarchical TreeView control with data binding enabled

Some time ago my task was to write something like virtual file system. Of course I decide to use typed DataSets because I am already wrote framework to work and update them easily. With this technology there are very easy to display content of the folder. Relation DataTables are very great tool for this. That’s all right but when I have seen the result - I had died! This is not look and feel that I mentioned for my client! So I am open google and start searching for TreeView with data binding enabled. Of course I found something: this (Data Binding TreeView in C#) is pretty but this is not hierarchy in my understanding; this (How to fill hierarchical data into a TreeView using base classes and data providers) is pretty too but I am not understood why author do not like standard binding. Both are not for me! And as real Ukrainian man I decide try to write my own!

See article on "Code Project".


Anonymous Anonymous said...

Hi there,

I started implementing your DataTreeView but started running in to problems when deleting items. If I delete an item and then try and add one immediately after, the added one doesnt show. After the delete I need to "reinforce" the new node selected - any ideas how? Plus I had to change the oldindex to newindex to get the delete to work.

Do you have an updated version that works properly for all scenarios?

Thanks in advance


7:11 PM  
Blogger Mike Chaliy said...

Thanks for your reply - I update codeproject. I think in few hours they will update article.

5:11 AM  
Blogger RRave said...

I have launched new site for programming resource website would like to invite and author and reader. And please share this with your friends and mates.

5:38 PM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home