I need to mask the input box/text box in ASP.NET MVC 2 for Credit Card. But the masking shouldn't affect its binding to its model.
I am trying to do something like this: [DataType(DataType.MaskedCreditCard)] similar to: [DataType(DataType.Password)]