I've always used the following mask input plugin in my ASP.Net applications:
http://digitalbush.com/projects/masked-input-plugin/
Unfortunately, this doesn't play well with MVC unobtrusive validation. Validation fires on every keyup which is annoying. Plus, a regex attribute always fails when the input loses focus because it reads the mask as the actual user input before the mask control clears it.
Anybody come across a masked textbox solution that plays well with MVC validation?
keyup
orblur
every time?? or did i miss something?? – Corwun