title: ASP.NET MVC 2 actionlink breaking after migration from MVC version 1
body: <p>I am migrating my application from asp.net mvc to mvc version 2 and am having the following issue.</p>
  
  <p>I have paging links &lt;&lt; &lt;  > >> that I include in each page. Like so:</p>
  
  <pre><code>        &lt;% Html.RenderPartial("PagingControl", Model); %&gt;
  </code></pre>
  
  <p>They exist in an ascx file as follows.</p>
  
  <pre><code>&lt;%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl&lt;BankingDB.Controllers.Utility.IPagedSortedObject&gt;" %&gt;
      &lt;div class="paging"&gt;
          &lt;div class="previous-paging"&gt;
  &lt;!- error!! -&gt;&lt;%= Model.HasPreviousPage ? Html.ActionLink("&lt;&lt;", "Index", Model.buildParams(1)) : "&lt;&lt;"%&gt;
              &lt;%= Model.HasPreviousPage ? Html.ActionLink("&lt;", "Index", Model.buildParams(Model.PreviousPageIndex)) : "&lt;"%&gt;
          &lt;/div&gt;
          &lt;div class="paging-details"&gt;
              Showing records &lt;%= Model.BaseRecordIndex %&gt; to &lt;%= Model.MaxRecordIndex %&gt; of &lt;%= Model.TotalRecordCount %&gt;
          &lt;/div&gt;
          &lt;div class="next-paging"&gt;
              &lt;%= Model.HasNextPage ? Html.ActionLink("&gt;", "Index", Model.buildParams(Model.NextPageIndex)) : "&gt;"%&gt;
              &lt;%= Model.HasNextPage ? Html.ActionLink("&gt;&gt;", "Index", Model.buildParams(Model.PageCount)) : "&gt;&gt;"%&gt;
          &lt;/div&gt;        
      &lt;/div&gt;
  </code></pre>
  
  <p>When I try to access the page I get the error: </p>
  
  <p>CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between 'System.Web.Mvc.MvcHtmlString' and 'string'</p>
  
  <p>The error is marked above and appears to be with the action link. Including the controller name doesn't help. Any ideas?</p>