I am currently evaluating these controls for use with our Hot
Towel/SPA-based application. I am attempting to display a drop down list
with data from our backend. I've attempted to do this with ComboxBox
and DropDownList, and both controls give me a "SCRIPT28: Out of stack
space" error.
I saw one post that said this was due to an older
version of jquery, but I'm using 1.9.1. The data is returned as a JSON
array. I set up the control in the viewAttached function:
Then in the same function, I retrieve the data:
warehouseData comes back from the controller, and contains valid data, including the WHNAME and HOUSEO fields. The dropdown list control appears to be empty. When I click on it, I get the spinning progress indicator, and the SCRIPT28 error appears. In Firefox, I get a "too much recursion" error.
What am I missing?
Towel/SPA-based application. I am attempting to display a drop down list
with data from our backend. I've attempted to do this with ComboxBox
and DropDownList, and both controls give me a "SCRIPT28: Out of stack
space" error.
I saw one post that said this was due to an older
version of jquery, but I'm using 1.9.1. The data is returned as a JSON
array. I set up the control in the viewAttached function:
function viewAttached(view) { $('#warehouseId').kendoDropDownList({
autoBind: false, dataTextField: 'WHNAME', dataValueField: 'HOUSEO' });aplusAdapter.getWarehouses(0, false, function (warehouseData) { //var ds = new kendo.data.DataSource({ data: warehouseData }); var ddList = $('#warehouseId').data('kendoDropDownList'); ddList.setDataSource(warehouseData); ddList.refresh();});What am I missing?