title: How to clear value of html.displayfor on search button click
body: <p>How to clear value of html.displayfor on search button click. Currently previous value and current value are appending on number of times we click the search button.</p>
  
  <p>_Test1 Partial view has search button</p>
  
  <pre><code>$('#btn-search').on('click', function () {
          var data = { UserName: $('#txtusername').val(), Locality: $('#Locality').val() }
          $('.mvc-grid').mvcgrid({
              requestType: 'post',
              reload: true,
              data: data
          });
      });
  </code></pre>
  
  <p>Display for is in another partial view _Test2 Partial View</p>
  
  <pre><code>@Html.DisplayFor(m =&gt; userIdCount)
  </code></pre>