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

Check box behavior missing

1 Answer 33 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Eoin
Top achievements
Rank 1
Eoin asked on 27 Oct 2008, 03:43 PM
I am not seeing any Check box behavior (client or server side) working as it should.

The Tree View is embedded in a User Control, and is built in the code behind.  I have confirmed that on post back I do not rebuild the tree, and that it is properly inflated from view state.

The problem is that CheckedNodes is empty despite having checked boxes before post back, but SelectedNodes works properly.

Also when attempting to debug, or explore a workaround I found that OnClientNodeChecked does not fire, but OnClientNodeClicked indeed does.

My suspicion is a missing javascript file somewhere, but I'm not positive.  Anyone else seen this behavior before?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 28 Oct 2008, 09:16 AM
Hello Eoin,

Please check the attached sample project which shows RadTreeView in a user control and it works without a problem, CheckNodes shows the nodes and OnClientNodeChecked is fired. Please download the file and examine it. What is different in your code?

Greetings,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Eoin
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or