Reputation: 2642
I had one register form , and I used to use it with my last asp.net mvc 2 project. Now I copied that register form into my asp.net mvc 3.
These are what I have copied from my last project :
Html.ValidationMessage
in my view.[Required(ErrorMessage = "*")]
in my modelBut it still have no the validation script in my view.
What did I miss?
Upvotes: 0
Views: 65
Reputation: 1621
The Microsoft mvc ajax files have been deprecated.
Use the jquery validation scripts supplies with MVC3 instead.
Upvotes: 1