Programming is fun and interesting. As you all know, sometime we programmers stucks in the middle way of coding without getting a solution. Blogs like this will help us to find a path to solve our problems. The contents of this blog are the solutions that I found by myself and from other sources. Sharing such solutions is also interesting. Thank you!
Wednesday, January 25, 2017
Manage css dynamically in razor view based on condition - MVC
Sample
<div class="col-lg-4 col-md-3 @(app.AppPath=="#"?"disableDiv":"")">
Your data
</div>
No comments:
Post a Comment