Querystring formatting in asp.net MVC 2
- by Stuart
Seems like a straitforward question but I can't quite figure it out myself...
I have an actionlink like so
Html.ActionLink( "Test", "test", new { q = "search+twitter" } )
This produces a url string as follows
http://myserver/test?q=search%2Btwitter
But i would like to preserve the plus sign (which i assume is being UrlPathEncoded) so that I get the following url
http://myserver/test?q=search+twitter
Is there an easy way to do this whilst still using Html.ActionLink ?