Issue with Ajax.ActionLink incorrectly rendering links when using htmlAttributes
Does anyone know of any issues with rendering incorrect querystrings when using htmlAttributes in an Ajax.ActionLink? It seems that if I put even an empty array in for the htmlAttributes, the link gets rendered incorrectly. Here's my code. When I do this (note the new { }): <%= Ajax.ActionLink("Delete", "Delete", "Milestone", new RouteValueDictionary { { "id", Model.Id } }, new AjaxOptions { HttpMethod = "GET", UpdateTargetId = "ModalDeleteContainer", OnSuccess = "modalDelete" }, new { })%> The link renders like this: <a href="/Client/1/Admin/Milestone/Delete?Count=1&Keys=System.Collections