kendo-autocomplete

Configure Ajax request made by Kendo to support cross domain ajax request

情到浓时终转凉″ 提交于 2019-12-13 01:43:30
问题 The basic kendo auto complete example shows a setup where matched search results are fetched through an Ajax request. The ajax loading works fine if the requested resource is on the same domain, but I was wondering if there is support for configuring the underlying ajax requests to support CORS. Is there a way to pass in Ajax options like you normally would do if you were using $.ajax({}) directly. $("#products").kendoAutoComplete({ dataTextField: "ProductName", filter: "contains", minLength:

Kendo Autocomplete Displays Two Suggestion Lists

99封情书 提交于 2019-12-11 04:57:59
问题 My Kendo autocomplete control retrieves a Json list successfully. Unfortunately, it calls the MVC controller method twice and creates two suggestion lists. The duplicate list is displayed directly behind the first. When a value is selected from the first suggestion list, the list disappears, but the duplicate list remains visible. I am using a wrapper for the autocomplete control as shown below. I've confirmed that the control is not being referenced in any of the page scripts. The control is

Kendo UI Angular JS and AutoComplete with a service

为君一笑 提交于 2019-12-07 01:53:14
问题 I'm making an Angular App and I'm starting to use some of the Kendo UI controls. I'm having some issues wiring up the AutoComplete control. I would like to use a factory that will return the list of "auto complete" values from my database. I have iincluded the auto complete control and I'm trying to use the k-options attribute: <input kendo-auto-complete ng-model="myFruit" k-options="FruitAutoComplete" /> In my controller the following hard coded list of fruits work: $scope.FruitAutoComplete

kendo ui on-demand RTL support with script

穿精又带淫゛_ 提交于 2019-12-04 06:54:26
问题 I created an Autocomplete form. I followed this simple documentation to create a button together with its click handler script. Clicking this button shall toggle RTL support for the form. I have a problem. When I click the button, it does not toggle RTL support for the form. demo <body> <input type="button" id="toggleRTL" value="Activate RTL Support" class="k-button" /> <script> $('#toggleRTL').on('click', function(event) { var form = $('#speakerForm'); if (form.hasClass('k-rtl')) { form