title: T4MVC Html.ActionLink or Html.RouteLink - how to add target
body: <p>I have a working Html.RouteLink that I want to convert to T4MVC.</p>
  
  <p>The working RouteLink code is as follows:</p>
  
  <pre><code>&lt;%= Html.RouteLink(vaultViewItem.NameDisplay, 
                     new {controller = "Entity", 
                          action= "Index", 
                          dataType = vaultViewItem.VaultID}, 
                     new { target="vaultIFrame"}) %&gt;
  </code></pre>
  
  <p>Converting the RouteLink directly does not work at all - the resultant URL contains the RouteValueDictionary class name, rather than the individual dictionary items.</p>
  
  <p>I have tried to use the Html.ActionLink with T4MVC and the link will work fine, but the target is never picked up. (Valid link, but sent to _self rather than the stated target.)</p>
  
  <pre><code>&lt;%= Html.ActionLink(vaultViewItem.NameDisplay,
                      MVC.Entity.Index(vaultViewItem.VaultID).AddRouteValues(
                                       new {target = "vaultIFrame"})) %&gt;
  </code></pre>
  
  <p>How can I display the linked page in the desired iFrame?</p>