Using ASP.NET MVC 2.0, I have an actionlink that is used for comments on a particular post:
Html.ActionLink("Comments", "Details", new { id = String.Format("{0}#comments",item.Title) })
What happens however is that the #comments gets encoded to %23comments, which doesn't work. Any ideas on getting around that? I've tried Url.Action (same issue) and would prefer not to hard code the link in an href.
Any pointers appreciated.
Thanks, -Simon