Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
TreeView in .NET v2.0 and AfterCheck ?
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Mike
18y
1.6k
1
Reply
Has anyone run into this problem before:
If you have an event setup as follows (fleTree1 being an enhanced TreeView object):
fileTree1
.
AfterCheck
+=
new
TreeViewEventHandler
(
checkAll
);
with "checkAll" calling the following routine:
private
void
checkAll
(
object
sender
,
TreeViewEventArgs e
) {
MessageBox
.
Show
(
e
.
Node
.
FullPath
);
}
If you click on the expansion box instead of the check box, the "checkAll" method is executed. This should not be occuring. "checkAll" should execute only when a check box is clicked on. Looks like a bug in the .NET v2.0 code to me or am I missing something.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Can´t print multiple pages in C#
web form and win form