Localizing mvc 3.0 validation client messages?

You need to understand how validation works in MVC and .NET. DataAnnotation is a generic validation library which can be used in all kinds of applications and not just MVC Hence MVC contains different types of adapters for MVC which is used to add support for DataAnnotations. The client-side adapters are specifically made for the attributes defined in System.ComponentModel.

DataAnnotations You therefore need to create your own adapters to get it working with your derived attributes. I've written a blog entry about it The easier approach is to use my localized metadata provider.

You need to understand how validation works in MVC and .NET. DataAnnotation is a generic validation library which can be used in all kinds of applications and not just MVC. Hence MVC contains different types of adapters for MVC which is used to add support for DataAnnotations.

The client-side adapters are specifically made for the attributes defined in System.ComponentModel.DataAnnotations. You therefore need to create your own adapters to get it working with your derived attributes. I've written a blog entry about it.

The easier approach is to use my localized metadata provider.

Owwwwww...REALLY THANKSSSSS...IT finally solved my problem after days!...I hope microsoft gives some documentations like this more – Mahmoud Moravej Sep 21 at 8:42.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions