Hi I have a field CellPhone of type int in my model.
In the view I have a javascript mask in my CellPhone field. When the client send the post of the page I receive something like that:
555-4789
But this value is not valid value for a int type. There is anyway to notify the model binder that I want to "clean" the number by removing the character '-' before binding happens?
Maybe a DataAnnotation or something else?