Tree View Question

S

sianan

I am having a problem with the TreeView control. What I am trying to
do, *should* be simple.

When the user selects a node in my TreeView, I first check to see if
the data for the object referenced by that node has changed. If it has,
I want to give the user the option of either selecting the next node in
the tree, or canceling, in which case the next node is not selected.
The tree remains as it was, with the original node selected. (I hope
this makes sense - it's a bit difficult to explain).

Anyway, I've been playing around with BeforeSelect, AfterSelect, etc.
and getting nowhere.

Does anyone have an idea how this might be done? I've pretty much
exhausted all of mine.

Thanks!
 
N

Nicholas Paldino [.NET/C# MVP]

Can you show some code? And what is it that is ^not^ happening that you
think should as a result?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top