Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > TreeView Control - OnClick event?

Thread Tools

TreeView Control - OnClick event?

Posts: n/a
I populate my tree programmatically; it's just a list of directories
and their files. I need to capture the click event every time a node
is clicked because I perform one action for a .PDF file type and
another action for a .DOC file type. SelectedNodeChanged event is
triggered only when you select different node, but if you click on the
same node (that is ALREADY SELECTED) no event is triggered. How do I
capture the click event?

(Using 2.0, Visual Studio 2005, Visual Basic)

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Overriding an onclick with another onclick Javascript 4 01-26-2006 09:26 PM
Issue with a custom TreeView derived from the TreeView control Ionutz ASP .Net Web Controls 2 10-23-2005 03:23 PM
button.onclick = new Function("func2()") + button.onclick Javascript 2 09-26-2005 08:13 AM
document.onclick=doIt() same as document.onclick=doIt ? bob Javascript 3 08-21-2003 12:14 PM
Not able to get the Onclick Event in TreeVIew Control Khaja Moin ASP .Net Web Controls 2 06-28-2003 05:27 PM