the code:
Ajax.ActionLink("Hello world", "Hello", "Say", new RouteValueDictionary(new { word = "Hello" }),new AjaxOptions { HttpMethod = "GET", InsertionMode = InsertionMode.Replace, UpdateTargetId = "dynamic-container" })
with the provided link leads to an error. The link is as follows:
.../Say/Hello?Count=1&Keys=System.Collections.Generic.Dictionary%602%2BKeyCollection%5BSystem.String%2CSystem.Object%5D&Values=System.Collections.Generic.Dictionary%602%2BValueCollection%5BSystem.String%2CSystem.Object%5D
which is BAAADDDDD .... the problem is that it uses the wrong overload. Instead:
new RouteValueDictionary(new { word = "Hello" })
where should be:
new { word = "Hello" }
when the code forms a link in the previous answer, it works like a charm - I hope that it will be useful for someone, someone