Question

So since System.Web & HttpContext isn't available in Silverlight is there a way to do HtmlDecode & HtmlEncode inside a Silverlight app without some horrendous Regex?

Was it helpful?

Solution

System.Windows.Browser has an HttpUtility class with HtmlEncode and HtmlDecode methods.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top