This is a migrated thread and some comments may be shown as answers.

Prevent expanding on check

1 Answer 53 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Greg Mercer
Top achievements
Rank 1
Greg Mercer asked on 19 Mar 2010, 01:17 AM
Is there a way to prevent the nodes from expanding when a node checkbox is checked?

Thanks,
Greg

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 19 Mar 2010, 08:53 AM

Hello greg,

When I tried the scenario in my end, the node is not expanded when checking the embedded checkbox. I am using RadControls version 2009, 3, 1314, 35.

One option to prevent expanding the node is cancelling the OnClientNodeExpanding event using args.set_cancel(true) method after checking for the condition.

Could you paste the aspx that you tried if this does not help?

-Shinu.

Tags
TreeView
Asked by
Greg Mercer
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or