I\'ve got a view model like this:
public class SignUpViewModel
{
[Required(ErrorMessage = \"Bitte lesen und akzeptieren Sie die AGB.\")]
[DisplayName
For people who are having trouble getting this working for validation on the client side (formerly me): make sure you have also
http://www.highoncoding.com/Articles/729_Creating_Custom_Client_Side_Validation_in_ASP_NET_MVC_2_0.aspx
is a good tutorial on doing this, but misses step 4.