ASP.NET MVC conditionally render a partial view

by Cliff 15. March 2010

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.

 

Cliff Gray's Info

Cliff Gray
Developer/Founder GrayTechnology.com.

E-mail me Send mail

Authors

Calendar

<<  April 2018  >>
MoTuWeThFrSaSu
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

View posts in large calendar

Blogroll

Download BlogEngine.NET

Download at CodePlex

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2018

Subscribe