This project is read-only.


Applied to a controller or an action it will remove all the unecessary white spaces from the generated html (return View() or Content())

RenderView controller extension

Renders a view (aspx, ascx, cshtml) and returns the html as a string
public ActionResult Do() {
var html = this.RenderView("index", theModel);

Last edited May 11, 2011 at 2:08 PM by o, version 2


No comments yet.