Action Filter is an aspect-oriented programming technique in MVC.
Give you more power without messing up your current code.
An Action Filte can run before or after an action or result, or even handle exceptions that occur.
Reference:
http://dotnetslackers.com/articles/aspnet/ASP-NET-MVC-3-Filters.aspx
Tuesday, May 10, 2011
Monday, May 9, 2011
How to make div transparent cross browsers?
How to make div transparent cross browsers?
.transparent
{filter:alpha(opacity=45);
-moz-opacity: 0.45;
opacity: 0.45;
}How to detect control key in Javascript
$('body').live('keydown', function (e) {
if (!e.ctrlKey) return;
})
Sunday, May 8, 2011
Subscribe to:
Posts (Atom)