title: Kendo Combo Box onkeypress Event
body: <p>I'm having a trouble on handling large data on combo box cause it returns at least <strong>16,000 records</strong> I tried this method <code>JsonReturnResult.MaxJsonLength = int.MaxValue;</code> but my browser still hangs up. Now what I want to do is to trigger the query when the <strong>User</strong> presses <code>Enter</code>.</p>
  
  <p>Here's my code :</p>
  
  <pre><code>&lt;script&gt;
  function onSelectCAO() {
                       var AccountName = $("#ChildAccountCode").val();
                       $("#account_name").data("kendoComboBox").value(AccountName);
                       document.getElementById("text_AcccountName").value = AccountName;
  
                   }
  &lt;/script&gt;
  
  &lt;input type="text" id="text_AcccountName" name="text_AcccountName" style="width:80%;" hidden="hidden"/&gt;
  
  @(Html.Kendo().ComboBox()
  
                                  .Name("ChildAccountCode")
                                  .DataTextField("ChildAccountCode1")
                                  .Filter(FilterType.Contains)
                                  .MinLength(3)
                                  .Placeholder("Select ChildAccountCode")
                                  .DataValueField("AccountName1")
                                  .HtmlAttributes(new { @style = "width: 200px;" })
                                  .Events(e =&gt;
                                      {
                                          e.Change("onSelectCAO");
                                      })
                                                      .DataSource(source =&gt;
                                                                  {
                                                                      source.Read(read =&gt;
                                                                          {
                                                                              read.Action("ddlChildAccountCode", "Dropdowns");
                                                                          });
                                                                  })                                                                                       
               )
  </code></pre>
  
  <p>What I want to accomplish is when User presses <code>Enter</code> it will only return results base on what User input it</p>