This is a migrated thread and some comments may be shown as answers.

ComboBox Autocomplete with Webservice

1 Answer 164 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ryan Lege
Top achievements
Rank 1
Ryan Lege asked on 26 Jul 2012, 01:21 PM
I am in the process of switching a Telerik MVC ComboBox with the Kendo equivalent. 

How to I accomplish the below code in KENDO?

@(Html.Telerik()
      .ComboBox()
      .HtmlAttributes(new { style = "width: 300px" })
      .Name("cbCountry")
      .AutoFill(true)
      .DataBinding(dataBinding => dataBinding.WebService().Select("~/Code/WCF/LoadOnDemand.svc/LoadCountry"))
      .Filterable(filtering =>
      {
          filtering.FilterMode(AutoCompleteFilterMode.StartsWith);
      })
      .HighlightFirstMatch(true)
)

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 27 Jul 2012, 07:44 AM
Hello,

 
I will suggest you check these links, which show how to achieve your goal:
http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/combobox/overview 
http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/migration/widgets/combobox 

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ComboBox
Asked by
Ryan Lege
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or