title: Render partial view from another partial view
body: <p>I am trying to render a partial view with an ActionResult controller which returns a partial. I need to pass a userid to the controller. The view I am rendering it in has a controller of its own and is a partial view as well. Below is how I am calling it in view,</p>
  
  <pre><code> @Html.Action("MultipleApplicationDetail", "ApplicationDetail", new { UserID = Model.UserDetail.UserID });
  </code></pre>
  
  <p>The view gets generated but not the partial view. Am i calling it worng. </p>
  
  <p>EDIT</p>
  
  <p>The action returns a lits of applications. below is the code</p>
  
  <pre><code>    public ActionResult MultipleApplicationDetail(int UserID, int? page)
      {
  
          IList&lt;ApplicationDetailViewModel&gt; applicationmodellist = new List&lt;ApplicationDetailViewModel&gt;();
  
  
  
  
          int currentPageIndex = page.HasValue ? page.Value : 1;
          if (GetApplicationList(UserID) &gt; 1)
          {
  
  
  
              applicationmodellist = GetAllApplications(UserID);
              applicationmodellist = applicationmodellist.ToPagedList(currentPageIndex, defaultPageSize);
  
  
          }
  
              return PartialView("_MultipleApplicationDetail", applicationmodellist);
  
  
      }
  </code></pre>