How to do Integer model validation in asp.net mvc 2

Viewed 48237

I have a registration form and the user must enter the square footage of their house. I would like this value to be only an integer. Is there a way to validate this value using attributes asp.net mvc?

4 Answers
Related