471,306 Members | 1,306 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

Bug in NET v2.0 AfterCheck event

I am experiencing what looks to be a bug using the AfterCheck event. I have a
TreeView which represents a hard disk directory structure. When a tree node
is expanded or collapsed, the AfterCheck event is being fired.

From my undesrtanding, this event should only be occuring when a node is
checked or unchecked.

Comments?
Jan 26 '06 #1
1 1247
There is no bug. I discovered the problem.

I have a routine which reads previously checked items in from a file. When
this routine checks the items on node expansion it fires the AfterCheck event.

Now I have to figure out a way to ignore the nodes that were checked during
this read from the file, but still honour future checked and unchecked nodes.

Talking about complex or what!!

"Mike B" wrote:
I am experiencing what looks to be a bug using the AfterCheck event. I have a
TreeView which represents a hard disk directory structure. When a tree node
is expanded or collapsed, the AfterCheck event is being fired.

From my undesrtanding, this event should only be occuring when a node is
checked or unchecked.

Comments?

Jan 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Andy Read | last post: by
18 posts views Thread by Christopher W. Douglas | last post: by
8 posts views Thread by Mark | last post: by
13 posts views Thread by Charles Law | last post: by
12 posts views Thread by Jack Russell | last post: by
9 posts views Thread by jeff | last post: by
reply views Thread by scottwed | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.