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

TreeView Checkbox problem

1 Answer 262 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
shahin
Top achievements
Rank 1
shahin asked on 16 Aug 2020, 09:13 AM

Hi everybody 

I have a problem with kendo treeview checkboxes 
i populated treeview with remote data, it binds correctly. I used "checked" property to send checked checkboxes to view, it works fine too. 
i use 2 different method for sending checked node IDs to controller but does not work properly.
method1: 
use java script to read nodes recursively and gather IDs then store in hidden field and send to controller but most of the times some nodes doesn't illustrate the check items thoroughly. in other words, I lose near half of checkboxes randomly.

method2:
using checkbox name and template and send checkboxes directly to the controller got same issue. 

 

 

what can i do for this issue??
thanks

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 19 Aug 2020, 12:33 PM

Hello Shahin,

Please refer to this forum thread that discusses the same scenario. Attached you will find a small project where you can see that the IDs of the checked boxes is correctly sent to the controller. Could you please see if it will help you resolve the problem? If not, please modify the example to reproduce it, and I will be happy to assist you.

Looking forward to your reply.

Regards,
Martin
Progress Telerik

Tags
TreeView
Asked by
shahin
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or