Conditional Routing? <p>I have a simple partial view. The main part of which is listed below. How can I have the ActionLinks resolve properly when this partial view is rendered on a page that is managed by a different controller. In other words - this partial view shows Project Areas for a given Project. What if this PV shows up on a page being managed by the Project Controller. The Default route behavior here would try to have the code execute the /Project/Edit or Project/Detail . Thats not really what I need. Instead I need it to go to /ProjectArea/Edit for example. How is that accomplished in this case? </p> <pre><code> &lt;% foreach (var item in Model) { %&gt; &lt;tr&gt; &lt;td&gt; &lt;%= Html.ActionLink("Edit", "Edit", new { id=item.ProjectAreaId }) %&gt; | &lt;%= Html.ActionLink("Details", "Details", new {id=item.ProjectAreaId })%&gt; &lt;/td&gt; &lt;td&gt; &lt;%= Html.Encode(item.Name) %&gt; &lt;/td&gt; &lt;/tr&gt; &lt;% } %&gt; </code></pre>