Too much recursion error dropdownlist MVVM

3 posts, 0 answers
  1. Wayne Hiller
    Wayne Hiller avatar
    37 posts
    Member since:
    Sep 2005

    Posted 29 Apr 2015 Link to this post

    I updated my site to the latest Kendo Release 2015.1.429 from the previous update and now I am getting a "Too much recursion error" when data binding.

    <script type="text/x-kendo-template" id="filtering-template">
        <div>
            <h3 data-bind="text: data.filter.Name"></h3>
            <table class="edit-panel">
                <colgroup>
                    <col class="fields-col">
                    <col class="operator-col">
                    <col class="value-col">
                    <col class="required-col">
                    <col class="delete-col">
                </colgroup>
                <tbody data-template="filtering-row-template" data-bind="source: data.filter.Rows"></tbody>
            </table>
            <div id="filter-commands">
                <a id="filter-search" data-role="button" data-bind="click: search" data-sprite-css-class="k-icon custom-icon search-icon">Search</a>
                <a id="filter-clear" data-role="button" data-bind="click: clear" data-sprite-css-class="k-icon custom-icon clear-icon">Clear</a>
                <a id="filter-add-row" data-role="button" data-bind="click: addRow" data-sprite-css-class="k-icon custom-icon add-icon">Add</a>
                <a id="filter-save" data-role="button" data-bind="click: saveFilter" data-sprite-css-class="k-icon custom-icon save-icon">Save</a>
                <a id="filter-saveas" data-role="button" data-bind="click: saveAsFilter" data-sprite-css-class="k-icon custom-icon saveas-icon">Save As</a>
                <a id="filter-delete" data-role="button" data-bind="click: deleteFilter" data-sprite-css-class="k-icon custom-icon delete-icon">Delete</a>
            </div>
            <div id="filter-status" class="k-block">Hello</div>
        </div>
    </script>


    <script type="text/x-kendo-template" id="filtering-row-template">
        <tr>
            <td><input class="field" data-role="dropdownlist" data-text-field="Name" data-value-field="ID"
                   data-bind="source: fields, value: Field, events: {change: fieldChanged}" /></td>
            <td><input class="operator" data-role="dropdownlist" data-text-field="Text" data-value-field="Value"
                   data-bind="source: operators, value: Operator" data-value-primitive="true" /></td>
            <td><input class="value k-textbox" data-bind="value: Value" data-abs="true" /></td>
            <td>
                <input type="checkbox" data-bind="checked: Required" /> Req
            </td>
            <td>
                <a class="remove k-button k-button-icon" data-bind="events: {click: removeRow}"><span class="k-icon k-i-close">Delete</span></a>
            </td>
        </tr>
    </script>

    if I comment out the dropdownlist's in the "filtering-row-template" template the error stops.

     

  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 01 May 2015 Link to this post

    Hi Wayne,

    This is a known issue that we already addressed, so it should be included in the next internal build.

    Regards,
    Alexander Popov
    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. Wayne Hiller
    Wayne Hiller avatar
    37 posts
    Member since:
    Sep 2005

    Posted 01 May 2015 in reply to Alexander Popov Link to this post

    Yes I downloaded the latest build and she is working perfectly again :)

    Thank You!

Back to Top