Monday, April 2, 2012

Combining LESS with ASP.NET

@back-color: #000;
@font-color: #fff;
body {
  background-color: @back-color;
  font-size: .85em;
  font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
  margin: 0;
  padding: 0;
  color: @font-color;
} MVC generic client and server side validation

In Webform has CustomValidator which can call any javascript function for validation and which make our task is easy in terms of validation.
Follwoing link show how to do it in MVC