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

DropDownList inside treeview - Error when select treeview item event

6 Answers 154 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ScholarisPM
Top achievements
Rank 1
ScholarisPM asked on 30 Oct 2013, 04:43 AM
Hi everyone,

I have the problem with kendo treeview:

- Source: http://jsfiddle.net/locddspkt/LQgfP/
- Explain: I used the kendo treeview. In the treeview, I used custom template. In the template, I have the input which will be generate to dropdownlist (after the tree item is bind)
- Problem:
After all the items (treeview and some dropdownlist). When I select the item (treeview item or the dropdown list), the error message occur: Uncaught TypeError: Cannot call method 'set' of undefined)

Somebody can tell me why and how to fix it.

Regards

6 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 30 Oct 2013, 03:16 PM
Hello Craig,


The current scenario is not supported. There is a conflict between the DropDownList and the TreeView items. Additionally each time the DropDownList is clicked, the TreeView item is selected, which is triggering a refresh of the template. Please reconsider the current implementation and try a different approach.


Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Khandu
Top achievements
Rank 1
answered on 23 Jun 2014, 12:19 PM
Does it works now? I am on same one . dropDownList inside kendo treeView
0
Khandu
Top achievements
Rank 1
answered on 23 Jun 2014, 12:20 PM
Does it works now? I am on same one . dropDownList inside kendo treeView template
0
Alex Gyoshev
Telerik team
answered on 24 Jun 2014, 07:08 AM
Hello Khandu,

No, this functionality is not supported at this time. Consider using a edit form that is separated from the treeview.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Evgeniy
Top achievements
Rank 1
answered on 16 Jul 2014, 09:59 AM
Hi everyone,

I have the same problem. Can you patch DropDownList and TreeView to avoid such conflitcts. Another way out is creating custom control. From my point of view it is all about onOpen event of TreeView and DropDownList. So can we overwrite the corresponding function to avoid conflict? I would be grateful if you will write a solution in detailed way, cause I`m new in using telerik.

Regards
0
Alex Gyoshev
Telerik team
answered on 16 Jul 2014, 10:46 AM
Hello Evgeniy,

I am afraid that providing custom solutions for unsupported functionality is not part of the standard Telerik support package. Feel free to suggest this on UserVoice, so that it gains some traction.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
TreeView
Asked by
ScholarisPM
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Khandu
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Evgeniy
Top achievements
Rank 1
Share this question
or