Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% Form.Begin(...) %> <!-- no overload for providing a route name --%>
- <form action="/Products/Command/ViewProduct" method="post">
- action="<%= Ajax.RouteLink("Update Status", "product-route-short", new { action = "GetStatus", sku = "" }, new AjaxOptions { UpdateTargetId = "status" })%>"
- <%= Url.RouteUrl("NamedRoute", new { controller="Controller", action="Action", foo="Bar" ... }) %>
- public string BeginForm(string actionName, string controllerName)
- public string BeginForm(string actionName)
- public string BeginForm(string routeName, string actionName) // Uh oh!
Add Comment
Please, Sign In to add comment