Saturday, April 27, 2013

How to encode url in ASP.NET MVC 3

HttpContext.Current.Server.UrlEncode(text)