Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 29th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Intellisense do not find actions
  2. routes.MapRoute(
  3.     "Custom",
  4.     "{action}/{id}",
  5.     new { controller = "Home", action = "Index", id = UrlParameter.Optional }
  6.  
  7. );
  8.        
  9. @(Html.ActionLink<HomeController>(x => x.MyActionName(), "label"))
  10.        
  11. @Html.ActionLink("label", T4MVC.Home.MyActionName())