Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
Hi all, I am using the treeview control and I need that for certain conditions the checkbox is not selectable or disable it, but is shown.
is there any way to have control over treenode checkbox because I also need to change their position and show tooltips.?
I appreciate your help, Thanks in avanced.
Posted
Updated 17-Jul-14 8:54am
v3
Comments
DamithSL 15-Jul-14 11:52am    
what have you tried so far?
danigeraleddin 15-Jul-14 12:25pm    
Hello, I tried using a javascript function that loops through the treeview after having been filled, but do not know where to apply control event this function.
danigeraleddin 15-Jul-14 12:42pm    
My idea is not to use javascript code, because I am using updatepanel and when I need to collapse or expand the nodes in the treeview, I am using asp.net functions that add an icon depending on values ​​in the database, and I want that same function disable the checkbox necessary, and thus simplify the code and do not have problems with postback.

1 solution

 
Share this answer
 
Comments
danigeraleddin 17-Jul-14 16:57pm    
Thanks Mahesh,This solution works.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900