title: How to pass parameters to a partial view in ASP.NET MVC?
body: <p>Suppose that I have this partial view:</p>
  
  <pre><code>Your name is &lt;strong&gt;@firstName @lastName&lt;/strong&gt;
  </code></pre>
  
  <p>which is accessible through a child only action like:</p>
  
  <pre><code>[ChildActionOnly]
  public ActionResult FullName(string firstName, string lastName)
  {
  
  }
  </code></pre>
  
  <p>And I want to use this partial view inside another view with:</p>
  
  <pre><code>@Html.RenderPartial("FullName")
  </code></pre>
  
  <p>In other words, I want to be able to pass firstName ans lastName from view to partial view. How should I do that? </p>