title: How to trigger the button by pressing enter key on a input textbox in the cshtml page
body: <p>My Code:</p>
  
  <p>Textbox field:</p>
  
  <pre><code>   &lt;input id="LastName" type="text" filtercolumn="LastName" class="filterCtrl" style="width:135px; height:15px"/&gt;
  </code></pre>
  
  <p>Want to trigger the following button when pressing enter key on the above text box:</p>
  
  <pre><code>&lt;input type="button" class="button w100" onclick="javascript:btnAdvanceSearchClick();" value="Search" /&gt;
  </code></pre>
  
  <p>Javascript function for ajax requesting the grid when button is clicked:</p>
  
  <pre><code>function btnAdvanceSearchClick() {
          _loadData = true;
          var $grid = $('#AdvanceSearchGrid').data('tGrid'); 
          $grid.ajaxRequest();
          $('div#divSearchGrid').show();
  }
  </code></pre>
  
  <p>My Search ActionControl method is called from the following code:</p>
  
  <pre><code>  @(Html.Telerik().Grid&lt;Web.Mvc.Models.Search.SearchModel&gt;()
      .Name("AdvanceSearchGrid")
      .DataBinding(db =&gt; db.Ajax()
          .Select("SearchUserByFilter", "Search", new { _loadData, _filter }).Enabled(true)
                  )
  </code></pre>
  
  <p>How to hit the button when the user clicked enterkey in the textbox. Please Help. Thanks</p>