DropDownList inside treeview - Error when select treeview item event

Thread is closed for posting
7 posts, 0 answers
  1. ScholarisPM
    ScholarisPM avatar
    11 posts
    Member since:
    Feb 2007

    Posted 29 Oct 2013 Link to this post

    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
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 30 Oct 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Khandu
    Khandu avatar
    2 posts
    Member since:
    Jun 2014

    Posted 23 Jun 2014 Link to this post

    Does it works now? I am on same one . dropDownList inside kendo treeView
  5. Khandu
    Khandu avatar
    2 posts
    Member since:
    Jun 2014

    Posted 23 Jun 2014 Link to this post

    Does it works now? I am on same one . dropDownList inside kendo treeView template
  6. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 24 Jun 2014 Link to this post

    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!
     
  7. Evgeniy
    Evgeniy avatar
    1 posts
    Member since:
    Jul 2014

    Posted 16 Jul 2014 Link to this post

    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
  8. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 16 Jul 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready