Incorrect information on Cascading ComboBoxes Page

2 posts, 0 answers
  1. Scott
    Scott avatar
    5 posts
    Member since:
    Jun 2012

    Posted 31 Jan 2013 Link to this post

    I've been trying to get my comboboxes cascading correctly using the guide on the Cascading ComboBoxes page and I think the information there may be incorrect. I wanted to use the approach where I set the parameters manually and copied the code at the very bottom of the page:

    $("#child").kendoComboBox({
       cascadeFrom: "parent",
       dataTextField: "childName",
       dataValueField: "childID",
       dataSource: {
           transport: {
               read: {
                   url: "",
                   data: {
                       parentID: $("#parent").val()
                   }
               }
           }
       }
    });

    This doesn't work, since I believe parentID: $("#parent").val() is interpreted at set up time, rather than when cascading. The correct code for the data portion would be: 
    data: function() {
        parentID: $("#parent").val()
    }

    In the answer there's a reference to the "How it works" section - I couldn't find this, could a link be provided if it still exists? 
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 04 Feb 2013 Link to this post

    Hello Scott,

     
    Thank you for drawing our attention to this issue. It is already addressed and the fix will be available soon.
    As a gratitude for your involvement I have updated your Telerik points.

    All the best,
    Georgi Krustev
    the Telerik team
    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
Back to Top