The solution is to specify my own route values (the third parameter below)
<%= Html.ActionLink("LinkText", "Action", "Controller",
new { id=string.Empty }, null) %>
More Related Contents:
- ASP.NET MVC ActionLink and post method
- Html.ActionLink as a button or an image, not a link
- ActionLink htmlAttributes
- ASP.NET MVC – Pass array object as a route value within Html.ActionLink(…)
- Dots in URL causes 404 with ASP.NET mvc and IIS
- How to extend available properties of User.Identity
- What are good candidates for base controller class in ASP.NET MVC?
- Visual Studio debugging/loading very slow
- Can we pass model as a parameter in RedirectToAction?
- Difference between Repository and Service Layer?
- Writing/outputting HTML strings unescaped
- How to render a Section in a Partial View in MVC3?
- Could not load file or assembly ‘System.Web.Mvc’
- Logging raw HTTP request/response in ASP.NET MVC & IIS7
- Troubleshooting anti-forgery token problems
- MVC controller : get JSON object from HTTP body?
- Do I need to install MVC 3/4 on web server to run mvc application
- ASP.NET Core MVC: setting expiration of identity cookie
- DropDownListFor Not Selecting Value
- SubSonic ASP.NET MVC sample in Visual Web Developer Express
- Deploying ASP.NET MVC Project
- What ‘sensitive information’ could be disclosed when setting JsonRequestBehavior to AllowGet
- Razor: @Html.Partial() vs @RenderPage()
- Get ExtraData from MVC5 framework OAuth/OWin identity provider with external auth provider
- The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value
- In what order are filters executed in asp.net mvc
- Get [DisplayName] attribute of a property in strongly-typed way
- Howto allow “Illegal characters in path”?
- Mapping Lists using Automapper
- How can I add an item to a SelectList in ASP.net MVC