I need to mask the input box/text box in ASP.NET MVC 2 for Credit Card. But the masking shouldn't affect its bind开发者_StackOverflow社区ing to its model.
I am trying to do something like this: [DataType(DataType.MaskedCreditCard)] similar to: [DataType(DataType.Password)]
精彩评论