Archives for: "November 2011"
Display HTML Content in ViewData
I am writing a CMS by using ASP.Net MVC. Thus, I will put the html content in ViewData. In most case, we put <%: ViewData["Content"] %> in the view. But it display <b>test</b>. "<%:" will convert the content into html encoding. The way… more »