title: How do you only show your results after the user clicks search in an Asp.Net MVC application
body: <p>I have an Index.cshtml view, a Filter.cshtml partial view and Results.cshtml partial view.  I want to see values from my Results.cshtml parital view <strong>after</strong> the user has clicked the search button, along with the content from Index.cshtml and Filter.cshtml. How do I structure my page(s) to see content from Results.cshtml after the search button is clicked, along with other content?</p>
  
  <p>This is what I have for my Index.cshtml view</p>
  
  <pre><code>@{
  ViewBag.Title = "Index";
  Layout = "~/Views/Shared/_Layout.cshtml";
  }
  
  @{ Html.RenderPartial("Filter"); }
  @{ Html.RenderPartial("Results"); }
  </code></pre>