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

Tuesday, January 17, 2012

Rounded corner by css

.rounded-corners {
     -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
}


http://jonraasch.com/blog/css-rounded-corners-in-all-browsers