Hy
I've updated today to the final release of kendo ui, mostly without any problems!
But either I have a new issue with the combobox.
I have a combobox that is bound to a remote json data source. Depending on the user input, I have then to change the value of the combobox (I get the id from the server of the new value). The filtering of the combo and also the paging is done on serverside. So what I do on client side is, I call
var combo = $(this).data("kendoComboBox");
combo.value(newValue);
This works fine as long as the option has already been loaded by the control. But If the value is changed to something that is not in the list that has been loaded when the page has been opened, the control will just display the value, but without the right caption.
So my next try was to use the refresh method. So first I set the value as described before, then I call refresh on the combo. Either this has exactly the same behaviour, no quering of the server if the option is unkown.
My last try was to use the search function, this method does correctly the filtering of the options on the server side, but then it will always open the suggest box that i don't want to have... I know what it has to be!
Any suggestions how I can avoid this behaviour? Must i use the datasource directly??
Thank you
Micha
I've updated today to the final release of kendo ui, mostly without any problems!
But either I have a new issue with the combobox.
I have a combobox that is bound to a remote json data source. Depending on the user input, I have then to change the value of the combobox (I get the id from the server of the new value). The filtering of the combo and also the paging is done on serverside. So what I do on client side is, I call
var combo = $(this).data("kendoComboBox");
combo.value(newValue);
This works fine as long as the option has already been loaded by the control. But If the value is changed to something that is not in the list that has been loaded when the page has been opened, the control will just display the value, but without the right caption.
So my next try was to use the refresh method. So first I set the value as described before, then I call refresh on the combo. Either this has exactly the same behaviour, no quering of the server if the option is unkown.
My last try was to use the search function, this method does correctly the filtering of the options on the server side, but then it will always open the suggest box that i don't want to have... I know what it has to be!
Any suggestions how I can avoid this behaviour? Must i use the datasource directly??
Thank you
Micha