ASP.NET MVC conditionally render a partial view 15 March 2010 Cliff MVC I was looking for a clean way to conditionally show a block of html and came across this post It oulines a really clean way to conditionally render a partial view while avoiding having if/else logic directly in your view.