Click here to Skip to main content
15,889,034 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
<div class="form-group">
     @Html.LabelFor(model => model.Reviewer)
     <div class="col-sm-9">
           @(Html.Kendo().DropDownListFor(model => model.ReviewerId)
               .Name("ReviewerId")
               .Filter(FilterType.Contains)
               .DataTextField("FullName")
               .DataValueField("Id")
               .OptionLabel("Select...")
               .DataSource(source =>source
                .Read(read => read.Action("Read","Reviewers").Data("filterReviewers"))
                .ServerFiltering(true)
                 )
               )
  </div>
</div>


<script>
     function resetReviewers(e) {
       var ddl = $("#ReviewerId").data("kendoDropDownList");
         if (ddl)
           ddl.dataSource.read();
         }

       function filterReviewers(e) {
         return {
           subZoneId: $("#SubZoneId").data("kendoDropDownList").value(),
           unitId: $("#UnitId").data("kendoDropDownList").value(),
         }
        }
     </script>


What I have tried:

something like, when click on ddl and type 'm' word, list of record started with 'm' will show.
Posted
Updated 19-Feb-17 16:36pm

1 solution

Here is a good place to start looking: Telerik Kendo ComboBox samples[^] and a good place to ask questions is: Telerik Forums[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900