Monday, January 23, 2012

How to align Header and Column in MvcContrib

.Columns(column =>
{
           

column.For(clmn => clmn.Id).Named("ID").HeaderAttributes(style => "text-align:center;");
column.For(a => Html.ActionLink("Edit", "Edit", new { id = a.RequestId })).Named("Edit").HeaderAttributes(style => "text-align:center;").Attributes(style => "text-align:center;");

})

An approach to mobile support in ASP.NET MVC

http://jclaes.blogspot.com/2012/01/approach-to-mobile-support-in-aspnet.html