code_junkie

Strange Html.ActionLink() Behavior after Upgrade to Beta 1

Nov 13th, 2011
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <%= Html.ActionLink("LOGIN", "Index", "Authorization", new { redirect=Request.Url })%>
  2.  
  3. <%= Html.ActionLink("Edit this page", "Edit", "Webpages", new { id = wp.Id })%>
  4.  
  5. http://localhost:60321/calendar/edit?Length=8
  6.  
  7. <%= Html.ActionLink("ADMIN", "Index", "ControlPanel") %>
  8.  
  9. ActionLink( string linkText, string action,
  10. object values, object htmlAttributes );
  11.  
  12. ActionLink( string linkText, string action, string controller,
  13. object values, object htmlAttributes );
  14.  
  15. <%= Html.ActionLink("LOGIN",
  16. "Index",
  17. "Authorization",
  18. new { redirect=Request.Url },
  19. null )%>
Add Comment
Please, Sign In to add comment