Geeks With Blogs
Tyson's Blog November 2010 Entries
An Elegant MVC Template for Items in Rows
My coworker and I were working a little later than our teammates this evening, and while reflecting on this week's work, we discovered this gem thanks to the venerable ReSharper and its code analysis (it detected an unclosed tag): <%@ Control Language="C#" Inherits="System.Web.Mvc.Vi... %> <div class="product-table grid"> <% var i = 0; var j = 0; foreach (var item in Model) { %> <% if (i % 4 == 0) { %> <% if (j != 0) { %></div><% ......

Posted On Friday, November 19, 2010 10:46 PM

Copyright © TStewartDev | Powered by: GeeksWithBlogs.net