We're trying to get the following scenario to work with no luck - can anyone shed light on this?
We have a jQuery template with a Kendo Autocomplete control inside (an input). The input must be bound to a remote datasource to allow filtering the results on the server. The input is used to pick a code from a set of 20,000+ codes, and the user can select more than one code, thus the input is templated - make sense? The user picks a code, then if another is desired they hit the "another code" button and the template fires off and a new Autocomplete control is born and so on.
We've spent days trying to get this to work but the combination of the Kendo autocomplete inside the jQuery template, plus the remote data source (which never works), plus ultimately binding the selected code to a model via Knockout, all that together paints a very complex picture.
Here are some scenarios we did get working but none suffice for our project:
- use local data instead of a delegate to remote data. This is not good because it requires us to pull back 20,000+ possible codes onto the client
- binding the selected code to a model via Knockout - this actually works fine
Can anyone shed light? Thanks in advance!
We have a jQuery template with a Kendo Autocomplete control inside (an input). The input must be bound to a remote datasource to allow filtering the results on the server. The input is used to pick a code from a set of 20,000+ codes, and the user can select more than one code, thus the input is templated - make sense? The user picks a code, then if another is desired they hit the "another code" button and the template fires off and a new Autocomplete control is born and so on.
We've spent days trying to get this to work but the combination of the Kendo autocomplete inside the jQuery template, plus the remote data source (which never works), plus ultimately binding the selected code to a model via Knockout, all that together paints a very complex picture.
Here are some scenarios we did get working but none suffice for our project:
- use local data instead of a delegate to remote data. This is not good because it requires us to pull back 20,000+ possible codes onto the client
- binding the selected code to a model via Knockout - this actually works fine
Can anyone shed light? Thanks in advance!