title: Asp.net MVC - Returning to "host" controller when using partial views
body: <p>I have a controller called Parameters which allows some parameters common to my object model to be edited/viewed. Creating/viewing is performed using a couple of partial views - ShowParameters.ascx and CreateParameters.ascx.</p>
  
  <p>I have a number of other controllers that all use ShowParameters.ascx to show their related Parameters. That works fine.</p>
  
  <p>However, I have a problem with my CreateParameters.ascx partial view. It calls an action named CreateParameter in my Parameters controller to create the parameter. My problem is, I would like it to return to the previous controller and show the Index view for that controller, so that the user can see that the parameter has been created.</p>
  
  <p>How can my Parameters controller determine which controller it should return to?</p>
  
  <p>Thanks,</p>
  
  <p>Tubby</p>