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?
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With