how to insert content to Ajax.ActionLink
ajax, asp.net, asp.net-mvc-3, razor
Solution
I've just found a solution
http://forums.asp.net/post/4517653.aspx
It's not as elegant as I would expected but should do.
Anyone has a better idea?
Problem
In Asp.net mvc3 razor I have: ``` Ajax.ActionLink("Hello world", "Hello", "Say", new RouteValueDictionary(new { word = "Hello" }),new AjaxOptions { HttpMethod = "GET", InsertionMode = InsertionMode.Replace, UpdateTargetId = "dynamic-container" }) ``` it produces ``` <a href="...." ...>Hello world</a> ``` What I would like to get is ``` <a href="..." ...><my><html><content/></html></my></a> ``` How can I pass "" so that it will be inserted instead of the standard text?