By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,971 Members | 1,451 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,971 IT Pros & Developers. It's quick & easy.

WebControl Treeview Onclick Action

P: n/a
Hi, all,

I use .Net V2.0 and WebControl TreeView. I want to have an OnClick()
function to handle user click on certain end nodes but not on other
nodes. Someone suggested to use a Java Scripts:

<SCRIPT lang="jscript">
function MyTreeView_onclick( )
Action1("onclick" );
var NodeClick=MyTreeView_onclick;
But this will cause whole tree nodes to have this kind action, not part
of nodes. Any idea and suggestion?

The whole idea is to have some kind actions on part of nodes and other
actions on other kind nodes based on the type of nodes or contents of
the nodes.

Dec 6 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.