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

Using Load On Demand Check box state is not getting maintained after collapsing a node

3 Answers 88 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Vidya
Top achievements
Rank 1
Vidya asked on 15 Feb 2013, 05:12 AM
Hi,

In our application, we are loading a treeview where there is parent-child relationship
Structure is:
Node 1
    Node 1.1
        Node 1.1.1
            Node 1.1.1.1
            Node 1.1.1.2
            Node 1.1.1.3
    Node 1.2
    Node 1.3
        Node 1.3.1
        Node 1.3.2
Node 2
     Node 2.1
            Node 2.1.1
            Node 2.1.2
            Node 2.1.3
    Node 2.2
Node 3

We are using Load on Demand (Ajax binding) to load the children nodes on expanding a parent node.

Step 1: Expand a parent node, child nodes will be loaded
Step2: Check the parent node, all the child nodes will be checked
Step 3: Now Collapse the parent node (Keep it checked) and expand again to load the child nodes.

Expect:
Child nodes should be checked
Actual:
Child Nodes are not checked

The checkboxes state is not maintained after collapsing a parent node and then expanding the same.
This is one of the critical functionalities in our application.
Please help.

Thanks
Vidya

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 19 Feb 2013, 09:12 AM
Hello Vidya,

The nodes should be automatically checked in the service pack. Which version are you using? If you are using 2012.3.1315 or later, could you check this jsBin sample and let me know if I am missing something?

Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Vidya
Top achievements
Rank 1
answered on 20 Feb 2013, 09:28 AM
Hi Daniel,

We are using the version kendoui201231114. Let us know if this was a bug in the version we are using.

We are not able to view the example you provided.
Please help.

Thanks,
Vidya
0
Daniel
Telerik team
answered on 22 Feb 2013, 08:31 AM
Hello again Vidya,

This functionality was implemented after the official release and was added for the service pack(2012.3.1315) which is available for download from your account.

Kind regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
Vidya
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Vidya
Top achievements
Rank 1
Share this question
or