Re: Treeview, delete the selected row (can't get it done :( )
The only problem i can imagine is that your assinging a TreeModelFilter or a TreeModelsort to tv_klanten.Model.
Then the selction you get when you click on the tree will be an iterator for THAT model. NOT for your listStore. Thats why your iter is not valid.
If you do like I assume you have to change the call
listStore.Remove(ref iterSelected);
to
listStore.Remove(ref subModel.ConvertIterToChildIter(iterSelected));
where "subModel" is the model you assigned to tv_klanten.Model