+1  A: 

You could use javascript to restrict the input of the the textbox to just integers.

phsr
+1 Very true - I'd like to not rely soley on JS, however. I want to have a solid fall-back in case the user disables JS
Dan
Yea, definitely. I would never have just front end validation, because you never know how the user is set up
phsr
A: 

Seems that if you call AddModelError without SetModelValue first, you'll get a shiny-new NullReferenceExceptions sometimes:

http://www.crankingoutcode.com/?aspxerrorpath=/2009/02/01/IssuesWithAddModelErrorSetModelValueWithMVCRC1.aspx

Dan
That blog post fixed it, but now I get "-1" for the value, and not the value the user entered. Hmm..
Dan